Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-19 | Add barebones manual pages for cimag(3), conj(3) and cproj(3) | Todd C. Miller | |
OK kettenis@ jmc@ | |||
2010-07-19 | Fix the cproj family to not return garbage on finite arguments. | Philip Guenthe | |
ok millert@ | |||
2010-07-18 | Use crealf() and cimagf() instead of creal() and cimag() when the | Philip Guenthe | |
argument is a float. Eliminate a cast rendered superfluous as a result. ok kettenis@, millert@ | |||
2010-06-03 | typo in a comment | Theo de Raadt | |
2010-05-05 | Tweak inline asm to prevent gcc4 from optimizing away crucial bits of it. | Mark Kettenis | |
ok miod@ | |||
2010-03-26 | dispense with some wacky escape sequences; | Jason McIntyre | |
2010-02-20 | Multiple issues were killing the build with mandoc(1), thus: | Ingo Schwarze | |
* do not use low-level roff macros like .if and .ds * add the missing .Os to the preamble * move unqualified text out of .Bl ok jmc@ | |||
2010-02-03 | Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent | Miod Vallat | |
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@ | |||
2009-11-06 | Provide assembly version of sqrtl(3). | Mark Kettenis | |
ok pirofti@ | |||
2009-11-05 | Provide assembly version of sqrtl(3). | Mark Kettenis | |
ok otto@ | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-10-27 | reorder the log functions slightly; from thomas pfaff | Jason McIntyre | |
2009-10-26 | Add man pages for the fdim/fmin/fmax family of functions and make sure fdiml | Mark Kettenis | |
is defined on all architectures. ok jmc@ (man pages) and martynas@ | |||
2009-10-24 | document log2() and log2f(); from thomas pfaff | Jason McIntyre | |
ok otto millert martynas | |||
2009-08-03 | remove, or replace Xr of ieee to either ilogb, nextafter or scalbn | Martynas Venckus | |
where appropriate. pointed out by jmc@ | |||
2009-07-29 | now that the pages are split and we track separate HISTORY: | Martynas Venckus | |
double => 4.3BSD float => NetBSD 1.1 long double => OpenBSD 4.5 scalbln, scalblnf, scalblnl => OpenBSD 4.7 | |||
2009-07-29 | ieee, and ieeef aren't real, and the amount of functions it documents | Martynas Venckus | |
is getting ridiculous. split them into groups of copysign, ilogb, nextafter, scalbn. discussed long ago with millert@ | |||
2009-07-29 | ieee_test isn't real; rename header to logb, too | Martynas Venckus | |
2009-07-28 | document scalbln, scalblnf, scalblnl | Martynas Venckus | |
2009-07-25 | int is big enough to fully represent exponents of all supported fp | Martynas Venckus | |
formats. which even for 80-bit & 128-bit long doubles is only 15 bits. therefore, scalbln, scalblnf, scalblnl are essentially the same as scalbn, scalbnf, scalbnl with bounds checking so that LONG_MIN..INT_MIN, and INT_MAX..LONG_MAX ranges properly raise exceptions & yield correct values. looks good to millert@ | |||
2009-07-15 | round, roundf, trunc, truncf for hppa; ok kettenis@ | Martynas Venckus | |
2009-07-06 | fe_towardzero not on openbsd. ok millert@ | Martynas Venckus | |
2009-06-30 | floor(3) should round towards -inf instead of towards zero. | Mark Kettenis | |
ok martynas@, deraadt@ | |||
2009-04-25 | fix scalbn, scalbnf, frexpf on amd64. don't use double arg | Martynas Venckus | |
float/double prologue/epilogue, since the second argument is not float/double. were never working properly (always returned inf). actually, should help other math funcs (like pow) too, since they use it internally tested by kurt@; devel/boost fp regresses are working better now. ok kurt@ | |||
2009-04-21 | alias and give frexpf symbol external linkage to scalbnf; this was | Martynas Venckus | |
overriden by md source. spotted by kurt@ actually; on amd64 scalbnf, scalbn (and therefore now frexpf) have always been broken since second argument is not float. fix is under reviewal / will be committed separately ok kurt@, kettenis@, millert@. tested by kurt@ | |||
2009-04-19 | make ldexpf behavior consistent with the double and extended-precision | Martynas Venckus | |
versions; spotted by kettenis@ while here also remove unused ldexp; it lives in libc ok kettenis@, "looks good" millert@ | |||
2009-04-11 | in the old days compiler could not convert decimal constants | Martynas Venckus | |
accurately, hence the tricks in libm, using machine representation of constants. remove kludges and switch to use decimal constants, much simplifying the code. since, the compiler converts them accurately. generated values match on vaxfp discussed with millert@, and miod@ testing todd@, and myself ok millert@ | |||
2009-04-10 | lrint, llrint, lrintf, llrintf for amd64. ok kettenis@, oga@ | Martynas Venckus | |
2009-04-08 | missing rcs ids; spacing | Martynas Venckus | |
2009-04-08 | remove i386/x86_64 ifdefs. i386 lives @ i387. miod@ agrees | Martynas Venckus | |
object code matches so this got to be oki | |||
2009-04-08 | fix hexadecimal constant that was wrong; and confused with ieee. ok miod@ | Martynas Venckus | |
2009-04-05 | implement and use sqrt, sqrtf & fabsf in hardware; since it's | Martynas Venckus | |
faster that way. tested by myself. discussed w/ & ok miod@, millert@ | |||
2009-04-05 | const static -> static const; since it's deprecated per C99. ok millert@ | Martynas Venckus | |
2009-03-28 | add C99-conformant nan, nanf, nanl for vax. always return zero, | Martynas Venckus | |
since its fp does not have distinguished values for qnans. tested by naddy@; fixes libnova. ok theo | |||
2008-12-22 | Let this compile with gcc 2. | Miod Vallat | |
2008-12-12 | space | Martynas Venckus | |
2008-12-12 | document and mlink long double functions. ok jmc@ | Martynas Venckus | |
2008-12-11 | remove an unneccessary addition to SEE ALSO: all the information | Jason McIntyre | |
is already there; ok martynas | |||
2008-12-10 | use sys/cdefs.h; pointed out by theo | Martynas Venckus | |
2008-12-09 | pass CPPFLAGS+= -D__STDC__ for vax, to get the right definitions | Martynas Venckus | |
from asm.h. discussed w/ millert@ | |||
2008-12-09 | alias fabsl to fabs on these archs | Martynas Venckus | |
2008-12-09 | - 80-bit and quad precision trigonometric and other most | Martynas Venckus | |
important functions: acosl, asinl, atanl, atan2l, cosl, sinl, tanl, exp2l, frexpl, ilogbl, ldexpl, logbl, scalbnl, fabsl, hypotl, powl, sqrtl, rintl, copysignl, nanl, fdiml, fmaxl, fminl. mostly taken from freebsd, needed alot of changes to adapt. note, these are all c versions; and are quite slow when architectures have, e.g. sqrt. assembly versions will be added afterwards - make them .weak/__weak_alias to the double precision versions on other archs - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - remove unused infinity.c. the c library has infinities for each supported platform - use STRICT_ASSIGN cast hack for _kernel_rem_pio2, so that the double version has a chance of working on i386 with extra precision - avoid storing multiple copies of the pi/2 array, since it won't vary - bump major due to removed finite/finitef. although they will be in libc, which anything is linked to, minor bump might be enough ok millert@. tested by sthen@, jsg@, ajacoutot@, kili@, naddy@ | |||
2008-11-20 | float math functions: copysignf and logbf. ok millert@ | Martynas Venckus | |
2008-10-07 | - noieee_src: adapt complex versions of the functions it already | Martynas Venckus | |
supports (which is all, except the float ones) ok millert@ | |||
2008-09-16 | remove d_cbrt, dcbrt, d_sqrt. ok millert@ | Martynas Venckus | |
2008-09-16 | typo: is -> if. ok millert@ | Martynas Venckus | |
2008-09-16 | gc unused files, the functions are in libc. ok millert@ | Martynas Venckus | |
2008-09-13 | remove z_abs. ok millert@ | Martynas Venckus | |
2008-09-11 | since these got no ieee-specific code anymore, add fmin, fmax, fdim, | Martynas Venckus | |
fminf, fmaxf, fdimf, fdiml for VAX. looks good to millert@ | |||
2008-09-11 | - make much more readable: don't reimplement isnan, signbit each | Martynas Venckus | |
time we need them ok millert@ |