mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
Make tests build on mac.
Disable test-float-system for now.
This commit is contained in:
parent
87ce7cedda
commit
9355874e4c
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
OPENLIBM_HOME=$(abspath ..)
|
||||
include ../Make.inc
|
||||
|
||||
all: test-double test-float test-double-system test-float-system
|
||||
all: test-double test-float test-double-system # test-float-system
|
||||
|
||||
test-double: test-double.c libm-test.c
|
||||
$(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
|
||||
|
|
|
@ -224,7 +224,7 @@ static FLOAT max_error, real_max_error, imag_max_error;
|
|||
#define MANT_DIG CHOOSE ((LDBL_MANT_DIG-1), (DBL_MANT_DIG-1), (FLT_MANT_DIG-1), \
|
||||
(LDBL_MANT_DIG-1), (DBL_MANT_DIG-1), (FLT_MANT_DIG-1))
|
||||
|
||||
#ifndef SYS_MATH_H
|
||||
#if defined(__WIN32__) || defined(__APPLE__)
|
||||
void FUNC(sincos) (int n, FLOAT *s, FLOAT *c)
|
||||
{
|
||||
*s = FUNC(sin) ( *s );
|
||||
|
|
Loading…
Reference in a new issue