This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
modf is for doubles, no?
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: modf is for doubles, no?
- From: Gerald Gutierrez <gutier at intergate dot bc dot ca>
- Date: Sat, 13 Nov 1999 00:28:09 -0800 (PST)
Hi all.
In libstdc++-2.90.6/testsuite/26_numerics/modf_float.cc, it checks to
see whether modf will work with floats. My make check fails because (I
think) it says that it works on doubles, not floats.
My Stroustrup book says that modf() is for doubles, not floats.
I assume the test is correct. What is being tested in this file?