christos
aee69d536e
fix bugs that piss off lint.
2008-05-01 15:33:15 +00:00
uwe
138486a3df
According to C99:
...
6.11.5 Storage-class specifiers
[#1 ] The placement of a storage-class specifier other than
at the beginning of the declaration specifiers in a
declaration is an obsolescent feature.
and gcc -Wextra warns about this, so s/const static/static const/
2008-04-29 15:10:02 +00:00
mhitch
83e4fa69d9
Add wrappers for missing coshf(), expf(), logf(), sinhf(), atan2f(), and
...
hypotf() functions for vax. Play the namespace and weak alias game for
functions used internally by the complex functions. Should fix the vax
build of libm.
2008-03-20 16:41:26 +00:00
wiz
4b19648772
s/greatful/grateful/, from Zafer.
2006-11-24 21:15:54 +00:00
matt
d882b4c815
Rather than cast everything around (which upsets gcc4), use a union instead.
2006-07-08 00:28:21 +00:00
is
42796049d0
C versions of non-IEEE round() / roundf(). Alas, using the VAX
...
cvtrdl; cvtld doesn't work for big numbers.
2006-01-17 13:16:08 +00:00
matt
cedcd39661
Don't cast x to double, it already is one.
2005-05-03 04:18:32 +00:00
mhitch
a6d522d13c
Add ceilf(), floorf(), and sqrtf() (as wrappers using ceil(), floor(), and
...
sqrt() repectively). The fixes PR#22796.
2004-05-13 20:35:40 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
matt
7a0238324a
Add cosf/sinf.
2002-06-23 21:54:37 +00:00
wiz
a81e53dde5
Remove unnecessary spaces.
2002-06-15 09:39:52 +00:00
matt
f1009ecdff
Ansify libm noieeesrc (for VAX). Also make const data really const.
...
libm for VAX can compiles with WARNS=2
2002-06-15 00:10:17 +00:00
matt
584a2f53ee
Clean up & prepare for ELF. Don't define isnan since it's in libc. Add a
...
powf (really a wrapper for pow).
2000-07-14 04:50:58 +00:00
simonb
42724dd4d2
More trailing white space.
1999-07-02 15:37:33 +00:00
hubertf
36f9d7790a
RCS ID police
1999-02-15 04:03:03 +00:00
ragge
4380475d73
Fixe some forgotten vax -> __vax__ changes.
1998-11-08 19:29:34 +00:00
matt
c34b7ca182
vax --> __vax__ (also egcsify the code; missing ints, braces, etc.)
1998-10-20 02:26:09 +00:00
ragge
9f749c2036
The Mariah chip lacks the POLYD instruction, so some assembly coded
...
calculations must be done in C instead. Fast fix until the POLY{D,F,G,H}
insn's are written.
1998-08-22 12:49:08 +00:00
ragge
04195f0e89
Fix a bunch of warnings introduced by more flags to cc.
1997-10-20 14:11:35 +00:00
ragge
25d43745af
Machine independent math library files for non-IEEE architectures.
1995-10-10 23:36:31 +00:00