Ed Schouten
8429b82a93
Use proper floating point literals.
...
signbit() and friends should always take floating point arguments. This
fixes a compiler error when using FreeBSD's own <math.h>.
2015-01-09 14:09:57 +01:00
Ed Schouten
17688c4487
Rename include/fenv.h to <openlibm_fenv.h>.
...
OpenLibm has an implementation of fenv.h internally. This may be
problematic in case you want it to build against the host system's
implementation, as it would require you to somehow take the fenv.h file
out of the compiler search path.
Simply use a different naming scheme, similar to openlibm.h and
openlibm_complex.h. If we want to build against the host's fenv.h, we
can simply add an '#include <fenv.h>' from within this header.
2015-01-09 13:11:12 +01:00
Viral B. Shah
0e10872a99
Merge pull request #25 from JuliaLang/sf/sincos
...
sincos()
2013-07-16 00:13:54 -07:00
Elliot Saba
b9a5027251
Modify tests from Darwin specifications to openlibm specifications
...
Modify specifications regarding exceptions thrown and return values for border conditions for tgamma, y0, y1 and yn functions
2013-07-15 22:28:41 -07:00
Elliot Saba
5b4fb9af72
Uncomment tests for sincos()
2013-07-15 18:29:30 -07:00
Viral B. Shah
abc6c5e76f
Revert to commit 87ce7cedda
...
and disable the building of test-double-system and test-float-system
by default
2012-08-19 17:03:16 +05:30
Viral B. Shah
9355874e4c
Make tests build on mac.
...
Disable test-float-system for now.
2012-08-19 16:43:40 +05:30
Keno Fischer
87ce7cedda
Fix build on amd64 linux
2012-08-19 04:15:47 -04:00
Viral B. Shah
5656ce4296
Use the c99 standard rather than gnu99.
2012-07-02 20:25:10 +05:30
Viral B. Shah
e218b57742
nearbyint_test is the only one failing with ARITHMETIC EXCEPTION.
...
Comment out for now. Rest of the tests go through.
2012-07-02 08:15:12 +05:30
Viral B. Shah
6bb87679fb
Compile tests in debug mode.
2012-07-02 08:09:04 +05:30
Viral B. Shah
440055a3b6
Make tests build.
2012-07-02 07:49:00 +05:30
Viral B. Shah
2e2a1b8a9a
Some more files for tests
2012-06-10 18:47:39 +05:30
Viral B. Shah
acca6eac7c
Add libm-test.c
2012-06-10 18:38:09 +05:30