#
74dd7eb1 |
| 06-Nov-2009 |
kettenis <kettenis@openbsd.org> |
Provide assembly version of sqrtl(3).
ok pirofti@
|
#
e0998069 |
| 05-Nov-2009 |
kettenis <kettenis@openbsd.org> |
Provide assembly version of sqrtl(3).
ok otto@
|
#
8e30f2f1 |
| 26-Oct-2009 |
kettenis <kettenis@openbsd.org> |
Add man pages for the fdim/fmin/fmax family of functions and make sure fdiml is defined on all architectures.
ok jmc@ (man pages) and martynas@
|
#
f838d36b |
| 24-Oct-2009 |
jmc <jmc@openbsd.org> |
document log2() and log2f(); from thomas pfaff ok otto millert martynas
|
#
f66cd146 |
| 29-Jul-2009 |
martynas <martynas@openbsd.org> |
ieee, and ieeef aren't real, and the amount of functions it documents is getting ridiculous. split them into groups of copysign, ilogb, nextafter, scalbn. discussed long ago with millert@
|
#
6eadd23e |
| 28-Jul-2009 |
martynas <martynas@openbsd.org> |
document scalbln, scalblnf, scalblnl
|
#
ed1ba055 |
| 25-Jul-2009 |
martynas <martynas@openbsd.org> |
int is big enough to fully represent exponents of all supported fp formats. which even for 80-bit & 128-bit long doubles is only 15 bits. therefore, scalbln, scalblnf, scalblnl are essentially the
int is big enough to fully represent exponents of all supported fp 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@
show more ...
|
#
7200feb2 |
| 15-Jul-2009 |
martynas <martynas@openbsd.org> |
round, roundf, trunc, truncf for hppa; ok kettenis@
|
#
bc5edd9a |
| 19-Apr-2009 |
martynas <martynas@openbsd.org> |
make ldexpf behavior consistent with the double and extended-precision versions; spotted by kettenis@ while here also remove unused ldexp; it lives in libc ok kettenis@, "looks good" millert@
|
#
3219c6ba |
| 10-Apr-2009 |
martynas <martynas@openbsd.org> |
lrint, llrint, lrintf, llrintf for amd64. ok kettenis@, oga@
|
#
f0a70dfe |
| 05-Apr-2009 |
martynas <martynas@openbsd.org> |
implement and use sqrt, sqrtf & fabsf in hardware; since it's faster that way. tested by myself. discussed w/ & ok miod@, millert@
|
#
d5f11a04 |
| 28-Mar-2009 |
martynas <martynas@openbsd.org> |
add C99-conformant nan, nanf, nanl for vax. always return zero, since its fp does not have distinguished values for qnans. tested by naddy@; fixes libnova. ok theo
|
#
46d45a4d |
| 12-Dec-2008 |
martynas <martynas@openbsd.org> |
space
|
#
854ac34e |
| 12-Dec-2008 |
martynas <martynas@openbsd.org> |
document and mlink long double functions. ok jmc@
|
#
225ae630 |
| 09-Dec-2008 |
martynas <martynas@openbsd.org> |
pass CPPFLAGS+= -D__STDC__ for vax, to get the right definitions from asm.h. discussed w/ millert@
|
#
390c8400 |
| 09-Dec-2008 |
martynas <martynas@openbsd.org> |
- 80-bit and quad precision trigonometric and other most important functions: acosl, asinl, atanl, atan2l, cosl, sinl, tanl, exp2l, frexpl, ilogbl, ldexpl, logbl, scalbnl, fabsl, hypotl, powl, sqrtl,
- 80-bit and quad precision trigonometric and other most 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@
show more ...
|
#
23f68ee6 |
| 07-Oct-2008 |
martynas <martynas@openbsd.org> |
- noieee_src: adapt complex versions of the functions it already supports (which is all, except the float ones) ok millert@
|
#
d61db038 |
| 16-Sep-2008 |
martynas <martynas@openbsd.org> |
gc unused files, the functions are in libc. ok millert@
|
#
432bd960 |
| 11-Sep-2008 |
martynas <martynas@openbsd.org> |
since these got no ieee-specific code anymore, add fmin, fmax, fdim, fminf, fmaxf, fdimf, fdiml for VAX. looks good to millert@
|
#
190a67d7 |
| 09-Sep-2008 |
martynas <martynas@openbsd.org> |
sigh, gamma got lost
|
#
7b36286a |
| 07-Sep-2008 |
martynas <martynas@openbsd.org> |
- replace dtoa w/ David's gdtoa, version 2008-03-15 - provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in pri
- replace dtoa w/ David's gdtoa, version 2008-03-15 - provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago
discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@
this commit does not include: - man page changes
show more ...
|
#
d309d4cf |
| 30-Jul-2008 |
jmc <jmc@openbsd.org> |
various markup/grammar fixes for previous, and a missing MLINK for remquof.3;
|
#
84cdeef4 |
| 29-Jul-2008 |
martynas <martynas@openbsd.org> |
- add man pages for nan and remainder, from freebsd - mlink drem, dremf, remainderf to remainder; nanf to nan - describe that drem and dremf are obsolete aliases - remove descriptions for remainder
- add man pages for nan and remainder, from freebsd - mlink drem, dremf, remainderf to remainder; nanf to nan - describe that drem and dremf are obsolete aliases - remove descriptions for remainder and remainderf from ieee looked over by jmc@, but it's easier for him to work on when they are in tree
show more ...
|
#
fb2d3daa |
| 29-Jul-2008 |
martynas <martynas@openbsd.org> |
describe exp2, exp2f and mlink them
|
#
85aa21b3 |
| 29-Jul-2008 |
martynas <martynas@openbsd.org> |
remove finite from ieee.3, and unmlink from makefile
|