converted double to float64

SVN=126446
This commit is contained in:
Ken Thompson 2008-07-08 20:48:41 -07:00
parent 8e4ee0045f
commit 77e20e8cec
18 changed files with 141 additions and 145 deletions

View file

@ -7,14 +7,14 @@ package math
export fmod
/*
floating-point mod func without infinity or NaN checking
* floating-point mod func without infinity or NaN checking
*/
func
fmod(x, y double) double
fmod(x, y float64) float64
{
var yexp, rexp int;
var r, yfr, rfr double;
var r, yfr, rfr float64;
var sign bool;
if y == 0 {