update to new world. still can't use it but it's a lot of editing....

SVN=125218
This commit is contained in:
Rob Pike 2008-06-27 17:06:23 -07:00
parent 390d5fe5b2
commit 4331293f41
16 changed files with 59 additions and 66 deletions

View file

@ -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 sin
package math
import sys "sys"
export sin, cos
const
@ -41,7 +40,7 @@ sinus(arg double, quad int) double
} else {
k = long(x);
y = x - double(k);
quad = (quad + k) & 3;
quad = (quad + int(k)) & 3;
}
if quad&1 != 0 {