mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
update to new world. still can't use it but it's a lot of editing....
SVN=125218
This commit is contained in:
parent
390d5fe5b2
commit
4331293f41
16 changed files with 59 additions and 66 deletions
|
|
@ -2,9 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package fmod
|
||||
package math
|
||||
|
||||
import sys "sys"
|
||||
export fmod
|
||||
|
||||
/*
|
||||
|
|
@ -39,7 +38,7 @@ fmod(x, y double) double
|
|||
if rfr < yfr {
|
||||
rexp = rexp - 1;
|
||||
}
|
||||
r = r - sys.ldexp(y, rexp-yexp);
|
||||
r = r - sys.ldexp(rexp-yexp, y);
|
||||
}
|
||||
if sign {
|
||||
r = -r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue