SRC=$(sort $(wildcard *.c))
OBJ=$(SRC:.c=.o)
DSOOBJ=$(filter %_dso.o,$(OBJ))
+# TODO: fix this hack
BINOBJ=$(filter-out $(NONBIN),$(filter-out %_dso.o,$(OBJ)))
DSO=$(DSOOBJ:.o=.so)
BIN=$(BINOBJ:.o=)
include $(ROOT)/config.mak
all: $(BIN) $(DSO)
- echo $(BIN)
run: all
@N=0; for i in $(BIN);do ./$$i || N=$$((N+1)); done; [ "$$N" = 0 ] && echo PASS || echo FAILS: $$N
clean:
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/acos.h"
#include "ucb/acos.h"
#include "sanity/acos.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/acosf.h"
#include "sanity/acosf.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/acosh.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/acoshf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/acoshl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/acosh.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/acoshl.h"
+
#endif
};
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/acosl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/acos.h"
+#include "ucb/acos.h"
+#include "sanity/acos.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/acosl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/asin.h"
#include "ucb/asin.h"
#include "sanity/asin.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/asinf.h"
#include "sanity/asinf.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/asinh.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/asinhf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/asinhl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/asinh.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/asinhl.h"
+
#endif
};
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/asinl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/asin.h"
+#include "ucb/asin.h"
+#include "sanity/asin.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/asinl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/atan.h"
#include "ucb/atan.h"
#include "sanity/atan.h"
+
};
int main(void)
#include "util.h"
static struct dd_d t[] = {
-
#include "ucb/atan2.h"
#include "sanity/atan2.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "ucb/atan2f.h"
#include "sanity/atan2f.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/atan2l.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/atan2.h"
+#include "sanity/atan2.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/atan2l.h"
+
#endif
};
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/atanf.h"
#include "sanity/atanf.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/atanh.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/atanhf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/atanhl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/atanh.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/atanhl.h"
+
#endif
};
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/atanl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/atan.h"
+#include "ucb/atan.h"
+#include "sanity/atan.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/atanl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/cbrt.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/cbrtf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/cbrtl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/cbrt.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/cbrtl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "ucb/ceil.h"
#include "sanity/ceil.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/ceilf.h"
#include "sanity/ceilf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/ceill.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/ceil.h"
+#include "sanity/ceil.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/ceill.h"
+
#endif
};
#include "util.h"
static struct dd_d t[] = {
-
#include "sanity/copysign.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "sanity/copysignf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/copysignl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/copysign.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/copysignl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/cos.h"
#include "ucb/cos.h"
#include "sanity/cos.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/cosf.h"
#include "sanity/cosf.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/cosh.h"
#include "ucb/cosh.h"
#include "sanity/cosh.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/coshf.h"
#include "sanity/coshf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/coshl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/cosh.h"
+#include "ucb/cosh.h"
+#include "sanity/cosh.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/coshl.h"
+
#endif
};
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/cosl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/cos.h"
+#include "ucb/cos.h"
+#include "sanity/cos.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/cosl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/erf.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/erfc.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/erfcf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/erfcl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/erfc.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/erfcl.h"
+
#endif
};
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/erff.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/erfl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/erf.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/erfl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/exp.h"
#include "ucb/exp.h"
#include "sanity/exp.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/exp10.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/exp10f.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/exp10l.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/exp10.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/exp10l.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/exp2.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/exp2f.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/exp2l.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/exp2.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/exp2l.h"
+
#endif
};
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/expf.h"
#include "sanity/expf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/expl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/exp.h"
+#include "ucb/exp.h"
+#include "sanity/exp.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/expl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/expm1.h"
#include "sanity/expm1.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/expm1f.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/expm1l.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/expm1.h"
+#include "sanity/expm1.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/expm1l.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "ucb/fabs.h"
#include "sanity/fabs.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/fabsf.h"
#include "sanity/fabsf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/fabsl.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/fabs.h"
+#include "sanity/fabs.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/fabsl.h"
+
#endif
};
#include "util.h"
static struct dd_d t[] = {
-
#include "sanity/fdim.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "sanity/fdimf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/fdiml.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/fdim.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/fdiml.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "ucb/floor.h"
#include "sanity/floor.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/floorf.h"
#include "sanity/floorf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/floorl.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/floor.h"
+#include "sanity/floor.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/floorl.h"
+
#endif
};
#include "util.h"
static struct dd_d t[] = {
-
#include "sanity/fmax.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "sanity/fmaxf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/fmaxl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/fmax.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/fmaxl.h"
+
#endif
};
#include "util.h"
static struct dd_d t[] = {
-
#include "sanity/fmin.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "sanity/fminf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/fminl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/fmin.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/fminl.h"
+
#endif
};
#include "util.h"
static struct dd_d t[] = {
-
#include "ucb/fmod.h"
#include "sanity/fmod.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "ucb/fmodf.h"
#include "sanity/fmodf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/fmodl.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/fmod.h"
+#include "sanity/fmod.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/fmodl.h"
+
#endif
};
D=..
sed 's/^T(//;s/,//;s/)//' functions.h | while read N T
do
- [ -e $D/$N.c ] || {
+# [ -e $D/$N.c ] || {
cp template/$T.c $D/$N.c || continue
ND=`echo $N |sed 's/l$//'`
H=''
for i in crlibm/$N.h ucb/$N.h sanity/$N.h
do
- [ -e $D/$i ] && H="$H\\n#include \"$i\""
+ [ -e $D/$i ] && H="$H#include \"$i\"\\n"
done
DH=''
for i in crlibm/$ND.h ucb/$ND.h sanity/$ND.h
do
- [ -e $D/$i ] && DH="$DH\\n#include \"$i\""
+ [ -e $D/$i ] && DH="$DH#include \"$i\"\\n"
done
- sed -i "s/___/$N/g;s,HEADERS,$H,;s,DHEADERS,$DH," $D/$N.c
- }
+ sed -i "s/___/$N/g;s,DHEADERS,$DH,;s,HEADERS,$H," $D/$N.c
+# }
done
#include "util.h"
static struct dd_d t[] = {
-
#include "ucb/hypot.h"
#include "sanity/hypot.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "ucb/hypotf.h"
#include "sanity/hypotf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/hypotl.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/hypot.h"
+#include "sanity/hypot.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/hypotl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/j0.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/j0f.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/j1.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/j1f.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/log.h"
#include "ucb/log.h"
#include "sanity/log.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/log10.h"
#include "ucb/log10.h"
#include "sanity/log10.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/log10f.h"
#include "sanity/log10f.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/log10l.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/log10.h"
+#include "ucb/log10.h"
+#include "sanity/log10.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/log10l.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/log1p.h"
#include "sanity/log1p.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/log1pf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/log1pl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/log1p.h"
+#include "sanity/log1p.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/log1pl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/log2.h"
#include "sanity/log2.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/log2f.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/log2l.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/log2.h"
+#include "sanity/log2.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/log2l.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/logb.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/logbf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/logbl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/logb.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/logbl.h"
+
#endif
};
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/logf.h"
#include "sanity/logf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/logl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/log.h"
+#include "ucb/log.h"
+#include "sanity/log.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/logl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/nearbyint.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/nearbyintf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/nearbyintl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/nearbyint.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/nearbyintl.h"
+
#endif
};
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
+
#elif LDBL_MANT_DIG == 64
#endif
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
+
#elif LDBL_MANT_DIG == 64
#endif
#include "util.h"
static struct dd_d t[] = {
-
#include "crlibm/pow.h"
#include "ucb/pow.h"
#include "sanity/pow.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/pow10.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/pow10f.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/pow10l.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/pow10.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/pow10l.h"
+
#endif
};
#include "util.h"
static struct ff_f t[] = {
-
#include "ucb/powf.h"
#include "sanity/powf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/powl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/pow.h"
+#include "ucb/pow.h"
+#include "sanity/pow.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/powl.h"
+
#endif
};
#include "util.h"
static struct dd_d t[] = {
-
#include "sanity/remainder.h"
+
};
int main(void)
#include "util.h"
static struct ff_f t[] = {
-
#include "sanity/remainderf.h"
+
};
int main(void)
static struct ll_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/remainderl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/remainder.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/remainderl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/rint.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/rintf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/rintl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/rint.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/rintl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/round.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/roundf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/roundl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/round.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/roundl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/sin.h"
#include "ucb/sin.h"
#include "sanity/sin.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/sinf.h"
#include "sanity/sinf.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/sinh.h"
#include "ucb/sinh.h"
#include "sanity/sinh.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/sinhf.h"
#include "sanity/sinhf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/sinhl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/sinh.h"
+#include "ucb/sinh.h"
+#include "sanity/sinh.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/sinhl.h"
+
#endif
};
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/sinl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/sin.h"
+#include "ucb/sin.h"
+#include "sanity/sin.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/sinl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "ucb/sqrt.h"
#include "sanity/sqrt.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/sqrtf.h"
#include "sanity/sqrtf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/sqrtl.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/sqrt.h"
+#include "sanity/sqrt.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/sqrtl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "crlibm/tan.h"
#include "ucb/tan.h"
#include "sanity/tan.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/tanf.h"
#include "sanity/tanf.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "ucb/tanh.h"
#include "sanity/tanh.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "ucb/tanhf.h"
#include "sanity/tanhf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/tanhl.h"
-#elif LDBL_MANT_DIG == 64
+#include "ucb/tanh.h"
+#include "sanity/tanh.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/tanhl.h"
+
#endif
};
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/tanl.h"
-#elif LDBL_MANT_DIG == 64
+#include "crlibm/tan.h"
+#include "ucb/tan.h"
+#include "sanity/tan.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/tanl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/tgamma.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/tgammaf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/tgammal.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/tgamma.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/tgammal.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/trunc.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/truncf.h"
+
};
int main(void)
static struct l_l t[] = {
#if LDBL_MANT_DIG == 53
-D
-#include "sanity/truncl.h"
-#elif LDBL_MANT_DIG == 64
+#include "sanity/trunc.h"
+#elif LDBL_MANT_DIG == 64
#include "sanity/truncl.h"
+
#endif
};
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/y0.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/y0f.h"
+
};
int main(void)
#include "util.h"
static struct d_d t[] = {
-
#include "sanity/y1.h"
+
};
int main(void)
#include "util.h"
static struct f_f t[] = {
-
#include "sanity/y1f.h"
+
};
int main(void)