Commit Graph

40 Commits

Author SHA1 Message Date
bjh21 6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
kleink 9ef6f05359 G/C this copy of <math.h> in favor of the version found in basesrc/include,
which is actually the one installed.  The latter (which is derived from this
file) has evolved since, and the argument that it is exlusively associated
with libm (and thus should be installed from this directory) no longer holds
since two interfaces (isinf() and isnan()) are part of libc these days.
1999-08-16 21:13:16 +00:00
simonb 42724dd4d2 More trailing white space. 1999-07-02 15:37:33 +00:00
mycroft 0298a4dd05 Use __arm32__, not arm32, for egcs. 1998-11-24 09:25:30 +00:00
thorpej 08c09aef0c Add some braces to make egcs happy. (This code could kill me.) 1998-08-19 00:45:36 +00:00
perry 4e067afcb1 RCS Id Police. 1998-01-09 03:15:09 +00:00
veego c4a0e6d765 Fix a brain error from luke while he WARNSifyed libm.
Erik Bertelsen found the missplaced brakes.
1997-11-11 22:34:01 +00:00
lukem 118c71a6fa rcsid facism, WARNSify 1997-10-09 11:34:16 +00:00
lukem 41f0dee6a6 rcsid facism, WARNSify 1997-10-09 11:33:05 +00:00
lukem 61187201c6 rcsid facism, WARNSify 1997-10-09 11:31:07 +00:00
lukem dd7adfbf0c rcsid facism, WARNSify 1997-10-09 11:27:48 +00:00
mikel 1b973c5082 add parens for gcc -Wall 1997-06-20 07:42:01 +00:00
christos b47990743d <machine/endian.h> -> <sys/types.h> 1996-10-13 00:05:33 +00:00
christos bba370bbe9 remove inclusion of <machine/endian.h> 1996-10-13 00:04:56 +00:00
mark ce67b636ad Get the word order of doubles correct for the arm32 port.
Note: The arm32 port is little endian except for the FP word order.
1996-05-07 20:26:07 +00:00
phil d9f99fc936 Removing a "volatile" put there for the ns32k which is no longer needed. 1996-04-08 15:43:41 +00:00
jtc 977400602b Changed w_gamma.c, w_gamma_r.c, w_gammaf.c, w_gammaf_r.c to call
__ieee754_lgamma_r or __ieee754_lgammaf_r.
Removed e_gamma.c, e_gamma_r.c, e_gammaf.c, e_gammaf_r.c, e_lgamma.c,
e_lgamma_f.c.
1995-11-20 22:06:19 +00:00
jtc c1c8f42080 Changed core routines to call __ieee754_sqrt() instead of sqrt(). I
reported this enhancement to fdlibm-comments, and got the following
reply:

Date: Thu, 11 May 1995 14:35:25 -0700
From: Kwok.Ng@Eng.Sun.COM (KC Ng)
To: fdlibm-comments@sunpro.Eng.Sun.COM, jtc@cygnus.com
Subject: Re: fdlibm 5.2: why do core functions use sqrt?

> I noticed that core (e_*.c) fdlibm functions like __ieee754_acos()
> ensure that they call sqrt() with arguments in range (x > 0), when
> they could call __ieee754_sqrt() directly.
>
> Since sqrt() does a lot more work (verifies x is in range, etc.) is
> there any reason for this?  I'd think that calling __iee754_sqrt()
> would be more appropriate.  ....

You are right. __ieee754_sqrt should be in use with e_*.c.
1995-05-12 04:57:13 +00:00
jtc 9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
jtc d042a3eb20 Id -> NetBSD 1995-05-10 20:44:22 +00:00
jtc d6c3ebedb4 Fix overlooked FIXME: unsigned int -> u_int32_t. 1995-03-25 01:48:53 +00:00
jtc 6a189fc179 Remove unused static constant "one". 1995-01-25 01:07:23 +00:00
jtc 3d9c0cdc87 Integrate last of the relavant changes from fdlibm 5.2:
4. Performance issue on rem_pio2
       An attempt to speed up the argument reduction in the trig function is to
       consider pi/4 < x < 3pi/4 a special case. This was done in the file
       e_rem_pio2.c
1995-01-25 01:06:35 +00:00
jtc 10a7ebda19 Bug fix from fdlibm 5.2. 1995-01-16 20:05:43 +00:00
jtc 600d3f84d5 Add volatile qualifier to huge and tiny, so that huge*huge and tiny*tiny
are performed at run-time.
1994-12-16 08:38:20 +00:00
jtc d797a5d5e9 __infinity[] and isinf() for systems whose C libraries don't supply them;
and isinff(), a "float" version of isinf().
1994-09-25 17:29:47 +00:00
jtc 43e6dd4c8e Add prototype for isinff(). 1994-09-25 17:27:56 +00:00
jtc d1f06e0b8f LIBM_SCCS must be defined for the RCS ID to be defined.
This library will soon be used by DJGPP.  And since memory is often tight
on DOS machines, there is little benifit to be had from including RCS IDs.
1994-09-22 16:39:08 +00:00
jtc b4f978017e Remove CYGNUS_LOCAL comment: I maintain this code for NetBSD, not Cygnus 1994-09-13 00:40:33 +00:00
mycroft 21a91228b1 Only extract lx if we need it. 1994-08-26 13:37:40 +00:00
jtc b0c9d09246 Change int -> int32_t and unsigned int -> u_int32_t to improve portabilty
to machines where int != 32 bits.
1994-08-18 23:04:51 +00:00
mycroft 7fa12b9866 Clean up deleted files. 1994-08-10 20:35:54 +00:00
jtc 8346e333d0 Float versions of math functions. From Ian Taylor (ian@cygnus.com), with
minor changes by me.
1994-08-10 20:30:00 +00:00
jtc 39abd30929 Don't determine byte order at run time.
This also "solves" the problem of GCC optimization leading to incorrect
results.
1994-03-03 17:04:03 +00:00
jtc efcdc02b30 Add cabs() & drem() for BSD libm compatibility. 1994-03-01 17:14:34 +00:00
jtc af4a36425d Add RCS ID's. 1994-02-18 02:27:42 +00:00
jtc bc3f7bf6db Add RCS ID's. 1994-02-18 02:24:43 +00:00
jtc b0122e807d Include <math.h> instead of "fdlibm.h"
Byteorder fix for s_frexp.c.
1994-02-11 18:08:08 +00:00
mycroft 6712a2b42b Clean up deleted files. 1994-02-11 17:56:43 +00:00
jtc 13618394b2 Fdlibm 5.1 1994-02-11 17:52:17 +00:00