mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-07-01 10:06:41 +02:00
198 out of 203 files build now.
This commit is contained in:
parent
e4481ba487
commit
394d97b5e2
3 changed files with 8 additions and 5 deletions
|
@ -1 +1 @@
|
||||||
for i in *.c; do clang -D__BSD_VISIBLE -c -O0 -I. -I../include -I../ld128 $i; done 2>err
|
for i in *.c; do clang -D__BSD_VISIBLE -Wno-implicit-function-declaration -c -O0 -I. -I../include -I../ld128 $i; done 2>err
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <machine/endian.h>
|
#include <machine/endian.h>
|
||||||
|
#include <complex.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The original fdlibm code used statements like:
|
* The original fdlibm code used statements like:
|
||||||
|
@ -232,7 +233,8 @@ do { \
|
||||||
*/
|
*/
|
||||||
void _scan_nan(u_int32_t *__words, int __num_words, const char *__s);
|
void _scan_nan(u_int32_t *__words, int __num_words, const char *__s);
|
||||||
|
|
||||||
#ifdef _COMPLEX_H
|
//VBS
|
||||||
|
//#ifdef _COMPLEX_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* C99 specifies that complex numbers have the same representation as
|
* C99 specifies that complex numbers have the same representation as
|
||||||
|
@ -293,7 +295,8 @@ cpackl(long double x, long double y)
|
||||||
IMAGPART(z) = y;
|
IMAGPART(z) = y;
|
||||||
return (z.f);
|
return (z.f);
|
||||||
}
|
}
|
||||||
#endif /* _COMPLEX_H */
|
//VBS
|
||||||
|
//#endif /* _COMPLEX_H */
|
||||||
|
|
||||||
#ifdef __GNUCLIKE_ASM
|
#ifdef __GNUCLIKE_ASM
|
||||||
|
|
||||||
|
|
|
@ -57,8 +57,8 @@ extern const union __nan_un {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __ISO_C_VISIBLE >= 1999
|
#if __ISO_C_VISIBLE >= 1999
|
||||||
#define FP_ILOGB0 (-__INT_MAX)
|
#define FP_ILOGB0 (-INT_MAX)
|
||||||
#define FP_ILOGBNAN __INT_MAX
|
#define FP_ILOGBNAN INT_MAX
|
||||||
|
|
||||||
#ifdef __MATH_BUILTIN_CONSTANTS
|
#ifdef __MATH_BUILTIN_CONSTANTS
|
||||||
#define HUGE_VALF __builtin_huge_valf()
|
#define HUGE_VALF __builtin_huge_valf()
|
||||||
|
|
Loading…
Add table
Reference in a new issue