This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

modf is for doubles, no?



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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]