OSDN Git Service

libgo: Update to weekly.2011-12-14.
[pf3gnuchains/gcc-fork.git] / libgo / go / math / log.go
index a786c8c..f06611d 100644 (file)
@@ -77,7 +77,12 @@ package math
 //     Log(0) = -Inf
 //     Log(x < 0) = NaN
 //     Log(NaN) = NaN
+func libc_log(float64) float64 __asm__("log")
 func Log(x float64) float64 {
+       return libc_log(x)
+}
+
+func log(x float64) float64 {
        const (
                Ln2Hi = 6.93147180369123816490e-01 /* 3fe62e42 fee00000 */
                Ln2Lo = 1.90821492927058770002e-10 /* 3dea39ef 35793c76 */