1 /* Copyright (c) 2017 SiFive Inc. All rights reserved.
3 This copyrighted material is made available to anyone wishing to use,
4 modify, copy, or redistribute it subject to the terms and conditions
5 of the FreeBSD License. This program is distributed in the hope that
6 it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
7 including the implied warranties of MERCHANTABILITY or FITNESS FOR
8 A PARTICULAR PURPOSE. A copy of this license is available at
9 http://www.opensource.org/licenses.
22 int feclearexcept(int excepts
);
23 int fegetexceptflag(fexcept_t
*flagp
, int excepts
);
24 int feraiseexcept(int excepts
);
25 int fesetexceptflag(const fexcept_t
*flagp
, int excepts
);
26 int fetestexcept(int excepts
);
30 int fesetround(int rounding_mode
);
32 /* Float environment */
33 int fegetenv(fenv_t
*envp
);
34 int feholdexcept(fenv_t
*envp
);
35 int fesetenv(const fenv_t
*envp
);
36 int feupdateenv(const fenv_t
*envp
);