[uClibc]rint() undefined
David Schleef
ds at schleef.org
Thu Feb 21 00:25:59 UTC 2002
The man page for rint says that it is a BSD 4.3 function, but
it's not compiled unless DO_C99_MATH is set. Erik, do you have
a list of which functions should exist for various standards?
dave...
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libm/Makefile,v
retrieving revision 1.26
diff -u -u -r1.26 Makefile
--- Makefile 2002/02/18 08:45:52 1.26
+++ Makefile 2002/02/21 00:17:25
@@ -70,7 +70,7 @@
w_sinh.c w_sqrt.c s_tan.c s_tanh.c s_scalbn.c s_copysign.c \
e_acos.c e_asin.c e_atan2.c k_cos.c e_cosh.c e_exp.c \
e_fmod.c e_log.c e_log10.c e_pow.c k_sin.c e_sinh.c e_sqrt.c \
- k_tan.c e_rem_pio2.c k_rem_pio2.c
+ k_tan.c e_rem_pio2.c k_rem_pio2.c s_rint.c
endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
More information about the uClibc
mailing list