Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-16 | improve markup quality in the cases found by the new "--" style message | Ingo Schwarze | |
2018-03-16 | Since most (if not all) ARMv8 hardware doesn't actually support trapping of | Mark Kettenis | |
floating-point exceptions, simplify the functions that control the exception masks just like we did on armv7. ok tom@ | |||
2018-03-12 | Gah, rintl() is used internally, so add a macro for the fourth possiblity, | Philip Guenther | |
a cloning a non-standard, long double function which _is_ used from the matching plain double function build failured pointed out by deraadt@ | |||
2018-03-12 | Make the binding of rintl, significand, and significandf consistently | Philip Guenther | |
'weak' in the static libm.a ok deraadt@ | |||
2018-03-12 | Add cvs tag, copyright, and license | Philip Guenther | |
2018-03-12 | Fix build of sincosl on machines where long double == double | Philip Guenther | |
ok deraadt@ | |||
2018-03-10 | Implement sicos(3), sincosf(3) and sincosl(3). These functions are common | Mark Kettenis | |
extensions and modern compilers (such as clang) will use them to optimize separate calculations of sine and cosine. ok tom@, patrick@, deraadt@, jmc@ | |||
2018-02-28 | Remove CFLAGS+=-mfloat-abi=softfp that I accidentally committed. | Mark Kettenis | |
2018-02-28 | Change floating-point mode/environment control functions to operate on | Mark Kettenis | |
both the hardfloat (FPU registers) and softfloat (software) state. This makes these functions work correctly when mixing hardfloat and softfloat code. Disable trapping for softfloat since most (if not all) ARMv7 and ARMv8 hardware that is on the market doesn't support trapping of floating-point exceptions. ok patrick@ | |||
2018-02-05 | Constants which can go into .rodata | Theo de Raadt | |
2017-09-27 | Xr; from jan stary | Jason McIntyre | |
2017-08-26 | For exceptional cases of mathematical formulae that can't reasonably | Ingo Schwarze | |
be represented otherwise, use eqn(7). Idea originally from bentley@, feedback and OK bentley@, OK tb@, and no objection from jmc@. | |||
2017-08-19 | Use 0xcc trapsleds instead of default/nop/0xcc in BTC alignments | Theo de Raadt | |
don't bother with .text before ENTRY() | |||
2017-01-21 | Nuke whitespace foolish enough to expose itself during the great | Kenneth R Westerback | |
"warning:" rectification. | |||
2017-01-20 | Implement gcc suggestion of extra parentheses. No functional change. | Kenneth R Westerback | |
ok guenther@ | |||
2017-01-11 | Add support for AArch64. Based on FreeBSD's msun header, modified | Patrick Wildt | |
to look and feel like our code. | |||
2016-12-22 | copysign and copysignf are used within libm, so declare them accordingly. | Christian Weisgerber | |
Required if the compiler doesn't replace them with builtins (e.g. clang on amd64). ok kettenis@ guenther@ i386 sync requested by guenther@ | |||
2016-09-12 | Reduce libm's exports and make internal calls go direct. | Philip Guenther | |
All dependencies on libc are now via reserved/standardized names. ok kettenis@ millert@ deraadt@ | |||
2016-09-12 | Per fpclassify(3): isinff(), isnanf(), finite(), and finitef() are deprecated | Philip Guenther | |
in favor of isinf(), isnan(), and isfinite(). ok tb@ martynas@ | |||
2016-09-12 | Use fe*() routines from <fenv.h> instead of fp*() routines from <ieeefp.h> | Philip Guenther | |
ok tb@ martynas@ | |||
2016-09-01 | remove references to sparc | Ted Unangst | |
2016-09-01 | retire the sparc library code | Ted Unangst | |
2016-06-01 | Use \(mi instead of - for the mathematical minus sign as recommended by | Theo Buehler | |
mandoc_char(7). While there, use some spacing around the arithmetic operations to make the more complicated formulas a bit easier to read. looks good to kettenis, no objection from schwarze | |||
2016-05-12 | more hppa64 cleaning | Theo de Raadt | |
2016-05-11 | remove hppa64 port, which we never got going beyond broken single users. | Theo de Raadt | |
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis | |||
2016-04-27 | minor cleanup; | Jason McIntyre | |
2016-04-26 | Remove predefined strings from libm pages. | Theo Buehler | |
With lots of help, input and tweaks and finally ok schwarze@ | |||
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2016-03-12 | Fix markup problem introduced in the previous commit. Solution and | tb | |
explanations provided by schwarze@. | |||
2016-03-10 | Remove VAX-specific bits of libm manpages. | tb | |
ok jmc@ | |||
2016-03-10 | no need for SUBDIR now that vax is gone; ok deraadt | Jason McIntyre | |
2016-03-10 | remove Xr to infnan, a trickily hidden (from me anyway) vax page; | Jason McIntyre | |
2016-03-10 | more pieces of vax | Theo de Raadt | |
2016-03-09 | We are done providing support for the vax. | Theo de Raadt | |
lots of agreement. | |||
2015-12-18 | Fix wrong answer if the imaginary part is zero. | Alexandr Shadchin | |
NetBSD also turn off this piece of code. ok tb@ | |||
2015-12-18 | Fix behavior csqrt, should be | Alexandr Shadchin | |
csqrt(conj(z)) == conj(csqrt(z)) Before csqrt(-4.0 + -0.0i) = 0.0 + 2.0j but should be csqrt(-4.0 + -0.0i) = 0.0 - 2.0j ok tb@, also discussed with daniel@ | |||
2015-11-10 | update NAME section to include all documented functions, | Jason McIntyre | |
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze | |||
2015-11-06 | From FreeBSD 23397: | Alexandr Shadchin | |
Fixed wrong magic numbers in scaling. hypotf() was very broken for large and small values: hypotf(2.3819765e+38, 2.0416943e+38) was NaN instead of 3.1372484e+38 hypotf(-3.4028235e+38, 3.3886450e+38) was NaN instead of Inf hypotf(-2.8025969e-45, -2.8025969e-45) was 0 instead of 4.2038954e-45 Found by: ucbtest ok miod@ | |||
2015-09-18 | Move s_signgam.c to PURE_SRCS, so that it also gets built on vax. | Miod Vallat | |
2015-09-14 | use .Va for global variables, and .Vt where the type is included | Ingo Schwarze | |
2015-08-20 | Avoid left-shifting a negative integer, which is undefined. Replace | Christian Weisgerber | |
it with the intended value, in a defined way. From FreeBSD (Dimitry Andric). ok miod@ deraadt@ kettenis@ | |||
2015-08-12 | fix a case where ceill() returns 1.0L: in the x86 extended precision format | Christian Weisgerber | |
the fraction part has no implicit bit ok deraadt@ | |||
2015-07-19 | Make exponents of x and y signed and fix esx and esy | Martynas Venckus | |
comparisons. The offending input in gfortran's round_4.f90 was nextafterl(0.10000000000000000000135525271560688L, -INFINITY) which caused an ulp addition rather than subtraction. Reported by John Marino @ DragonFlyBSD. | |||
2015-07-16 | Adapt previous to extended-precision, and fix single-precision constants. | Martynas Venckus | |
2015-07-16 | Signs of cacosh/cacoshf were not always correct (e.g., -1.1 -1.1i), | Martynas Venckus | |
as found by fortran regression tests. Also added some complex regression tests for cacosh, casinh, catanh. Reported by John Marino @ DragonFlyBSD. | |||
2015-01-22 | Fix logic botch causing warnings with Clang. Reported by dhill, matches | Miod Vallat | |
similar changes in FreeBSD a few years ago. | |||
2015-01-22 | Possibly uninitialized variable. From Clang via dhill. | Miod Vallat | |
2015-01-20 | Missing $OpenBSD$'s. | Kenneth R Westerback | |
ok deraadt@ | |||
2015-01-15 | remove .Tn; from Jan Stary <hans at stare dot cz> | Ingo Schwarze | |
2014-09-12 | Provide a sparc64 version of sqrtl(3) that simply calls _Qp_sqrt. | Mark Kettenis | |
The generic sqrtl(3) is not nearly accurate enough for quad-precision floating point. |