The information in this article applies to:
SUMMARY
The fmod(x,y) function returns the floating point remainder of x/y, where x
and y are floating point numbers. If y is 0.0, fmod should return a NAN(not
a number) which it does, but the documentation on fmode says incorrectly
that it should return 0.
MORE INFORMATIONSample Code
OutputThe remainder of 10.00/0.00 is -1.#IND00 // Correct outputAdditional query words: 1.00 2.00 double remainder
Keywords : kbdocfix kbCRT kbVC |
Last Reviewed: January 20, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |