Commit 439b0c40 authored by Rob Pike's avatar Rob Pike

tools to update math lib.

you need a hack to 6ar to do this, but it's not checked in yet

SVN=126943
parent 2fdbf0d5
......@@ -4,8 +4,8 @@
package math
import math "atan"
import math "sqrt"
import math "math"
import math "math"
export asin, acos
......
......@@ -4,7 +4,7 @@
package math
import math "atan"
import math "math"
export atan2
/*
......
......@@ -4,7 +4,7 @@
package math
import math "floor"
import math "math"
export exp
/*
......
......@@ -5,25 +5,7 @@
package main
//import math "math"
import math "asin"
import math "atan"
import math "atan2"
import math "exp"
import math "fabs"
import math "floor"
import math "fmod"
import math "hypot"
import math "log"
import math "pow"
import math "pow10"
import math "sin"
import math "sinh"
import math "sqrt"
import math "tan"
import math "tanh"
import math "math"
const length = 10;
......
......@@ -4,10 +4,10 @@
package math
import math "floor"
import math "sqrt"
import math "log"
import math "exp"
import math "math"
import math "math"
import math "math"
import math "math"
export pow
/*
......
......@@ -4,7 +4,7 @@
package math
import math "exp"
import math "math"
export sinh, cosh
/*
......
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package sys
func modf(a float64) (x float64, y float64);
func frexp(a float64) (e int, m float64);
func ldexp(f float64, e int) float64;
func Inf(n int) float64;
func NaN() float64;
func isInf(arg float64, n int) bool;
export modf, frexp, ldexp
export NaN, isInf, Inf
......@@ -4,7 +4,7 @@
package math
import math "sinh"
import math "math"
export tanh
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment