D-Programming-Language/phobos — pull request #337 by kyllingstad (2011-11-28 22:48:09+00:00)
Title: std.math: Fix modf() documentation, add fmod()

The documentation for std.math.modf() actually describes the [fmod()](http://www.cplusplus.com/reference/clibrary/cmath/fmod/) function of C's math.h, which doesn't have a counterpart in std.math. This commit adds fmod() and fixes the documentation for modf().

This fixes [issue 4765](http://d.puremagic.com/issues/show_bug.cgi?id=4765).