This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: modf is for doubles, no?
- To: Gerald Gutierrez <gutier at intergate dot bc dot ca>
- Subject: Re: modf is for doubles, no?
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Mon, 15 Nov 1999 23:35:19 -0800 (PST)
- cc: libstdc++ at sourceware dot cygnus dot com
> My Stroustrup book says that modf() is for doubles, not floats.
see 26.5 C library, p 6. The signature in the standard is
float modf*float, float*)
> I assume the test is correct. What is being tested in this file?
Probably some of the autoconf stuff not being completely trashed. There's
a bunch of configuring that goes into bits/std_cmath.h, and it's a test to
make sure some of the more obvious things are not completely broken.
-benjamin