math: doc

R=r
DELTA=173  (74 added, 14 deleted, 85 changed)
OCL=25753
CL=25767
This commit is contained in:
Russ Cox 2009-03-05 13:31:01 -08:00
parent 83de0698d6
commit dfc3910afa
18 changed files with 170 additions and 110 deletions

View file

@ -10,6 +10,7 @@ import "math"
* floating-point mod func without infinity or NaN checking
*/
// Fmod returns the floating-point remainder of x/y.
func Fmod(x, y float64) float64 {
if y == 0 {
return x;