#
394db10a |
| 09-Sep-2024 |
riastradh <riastradh@NetBSD.org> |
math.h: Add math_errhandling, MATH_ERRNO, MATH_ERREXCEPT.
XXX Should maybe put a __math_errhandling in machine/math.h, but only VAX uses MATH_ERRNO and that's not likely to change any time soon, so
math.h: Add math_errhandling, MATH_ERRNO, MATH_ERREXCEPT.
XXX Should maybe put a __math_errhandling in machine/math.h, but only VAX uses MATH_ERRNO and that's not likely to change any time soon, so this will serve for now with less churn.
PR standards/56234: missing C99 frobs in <math.h>
show more ...
|
#
fb1f0eb5 |
| 09-Sep-2024 |
riastradh <riastradh@NetBSD.org> |
math.h: Define FP_FAST_FMA, FP_FAST_FMAF, FP_FAST_FMAL.
These are not strictly necessary to define, really, so we haven't exactly been nonconformant. But they tell programs when they can enable fas
math.h: Define FP_FAST_FMA, FP_FAST_FMAF, FP_FAST_FMAL.
These are not strictly necessary to define, really, so we haven't exactly been nonconformant. But they tell programs when they can enable fast paths by using the fma(3) family of functions.
PR standards/56234: missing C99 frobs in <math.h>
show more ...
|
#
af6c922c |
| 07-May-2024 |
riastradh <riastradh@NetBSD.org> |
math.h: Move declarations under appropriate namespace tests.
Not sure about _REENTRANT, but if gamma_r and lgamma_r go under that (even if _NETBSD_SOURCE isn't defined), then lgammal_r probably shou
math.h: Move declarations under appropriate namespace tests.
Not sure about _REENTRANT, but if gamma_r and lgamma_r go under that (even if _NETBSD_SOURCE isn't defined), then lgammal_r probably should too.
show more ...
|
#
86010b4a |
| 22-Jan-2024 |
kre <kre@NetBSD.org> |
It seems that we need prototypes for long double math functions, even when !__HAVE_LONG_DOUBLE -- they still exist, but just aren't...
This might unbreak several more builds.
|
#
1bb3b9e1 |
| 22-Jan-2024 |
kre <kre@NetBSD.org> |
This set of changes seem to be sufficient to make at least the amd64 port build again after the long double math function infusion from yesterday.
Feel free (without consulting me, I'm just hacking
This set of changes seem to be sufficient to make at least the amd64 port build again after the long double math function infusion from yesterday.
Feel free (without consulting me, I'm just hacking about) to revert any of this and do it a better way.
Note: this is not intended to be complete, in particular, in <math.h> I added prototypes only for the functions that are needed for a successful build, not all of the new ones...
show more ...
|
#
5dd94c5e |
| 27-Aug-2022 |
christos <christos@NetBSD.org> |
Add sincos{,f,l} from FreeBSD
|
#
46533116 |
| 22-Feb-2020 |
joerg <joerg@NetBSD.org> |
Correct C99 / C++11 feature testing. Document remaining missing symbols.
|
#
f0907ab5 |
| 24-Jun-2018 |
christos <christos@NetBSD.org> |
Fix the rest of the functions that have been made visible by xopen5, posix 2017, and c99.
|
#
9dd3d50e |
| 24-Jun-2018 |
christos <christos@NetBSD.org> |
PR/53393: coypu: move rint to the right section.
|
#
cc4812f3 |
| 16-Sep-2013 |
martin <martin@NetBSD.org> |
Allow archs to provide __isinf() and __isnan() as inline functions instead of macros.
|
#
386426de |
| 19-Apr-2013 |
joerg <joerg@NetBSD.org> |
If __FLT_EVAL_METHOD__ exists and is in {0,1,2}, provide float_t and double_t.
|
#
aa951aad |
| 11-Feb-2013 |
matt <matt@NetBSD.org> |
FP_ILOGBNAN should be INT_MAX
|
#
05393fd8 |
| 09-Feb-2013 |
matt <matt@NetBSD.org> |
Define FP_ILOGB0 and FP_ILOGBNAN
|
#
1ab62a3a |
| 28-Jan-2013 |
matt <matt@NetBSD.org> |
Add missing long double functions
|
#
ba12b0dc |
| 05-May-2012 |
christos <christos@NetBSD.org> |
oops, forgot to commit: add tgamma and tgammaf
|
#
a99c34e9 |
| 05-Feb-2012 |
matt <matt@NetBSD.org> |
Use __INFINITY in preference to __builtin_inff(). Currently only VAX defines __INFINITY and allows to use __builtin_huge_valf() instead since gcc4.5 will error out unconditionally if __builtin_inf()
Use __INFINITY in preference to __builtin_inff(). Currently only VAX defines __INFINITY and allows to use __builtin_huge_valf() instead since gcc4.5 will error out unconditionally if __builtin_inf() is used.
show more ...
|
#
5ccaf4b8 |
| 28-Jul-2011 |
joerg <joerg@NetBSD.org> |
Add ilogbl(3).
|
#
afda0f82 |
| 26-Jul-2011 |
joerg <joerg@NetBSD.org> |
Add scalbnl to libm.
|
#
e60f59b9 |
| 06-Feb-2011 |
christos <christos@NetBSD.org> |
remquo{,f} from FreeBSD via Stathis Kamperis
|
#
e2a86dd3 |
| 15-Sep-2010 |
christos <christos@NetBSD.org> |
Commit SoC long double support from Stathis Kamperis
|
#
f6e199ad |
| 02-May-2010 |
dholland <dholland@NetBSD.org> |
typo in comment
|
#
839c0958 |
| 23-Feb-2010 |
joerg <joerg@NetBSD.org> |
PR 36988: ISO C99 mandates that HUGE_VAL, HUGE_VALF, HUGE_VALL and INFINITY are constant expressions.
Use the GCC builtins if possible to implement them.
|
#
5f7c431e |
| 11-Jan-2010 |
christos <christos@NetBSD.org> |
Add exp2 and exp2m
|
#
1799d3c9 |
| 04-Oct-2009 |
christos <christos@NetBSD.org> |
oops forgot to commit that one--- Add f{dim,min,max}{,l,f}
|
#
c79c3eed |
| 22-Feb-2009 |
martin <martin@NetBSD.org> |
Make NAN a compile time constant (with help from the compiler). Suggested by krister. Fixes PR 40695. Make references to the old construct (which we can't remove for binary compatibility reasons) emi
Make NAN a compile time constant (with help from the compiler). Suggested by krister. Fixes PR 40695. Make references to the old construct (which we can't remove for binary compatibility reasons) emit a linker warning.
show more ...
|