mirror of
https://github.com/golang/go
synced 2024-11-22 06:44:40 -07:00
tools to update math lib.
you need a hack to 6ar to do this, but it's not checked in yet SVN=126943
This commit is contained in:
parent
2fdbf0d595
commit
439b0c40bc
@ -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
|
||||
|
||||
/*
|
||||
|
@ -1,16 +0,0 @@
|
||||
// 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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user