Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #38 from xushiwei/q
Browse files Browse the repository at this point in the history
autoStaticName: fix typo
  • Loading branch information
xushiwei committed Jul 23, 2022
2 parents 61b4c7b + 19ad058 commit bab50cc
Show file tree
Hide file tree
Showing 104 changed files with 1,404 additions and 1,404 deletions.
42 changes: 21 additions & 21 deletions acos.c.i.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ package libc

import unsafe "unsafe"

var _cgos_pio2_hi__acos float64 = 1.5707963267948966
var _cgos_pio2_lo__acos float64 = 6.123233995736766e-17
var _cgos_pS0__acos float64 = 0.16666666666666666
var _cgos_pS1__acos float64 = -0.32556581862240092
var _cgos_pS2__acos float64 = 0.20121253213486293
var _cgos_pS3__acos float64 = -0.040055534500679411
var _cgos_pS4__acos float64 = 7.9153499428981453e-4
var _cgos_pS5__acos float64 = 3.4793310759602117e-5
var _cgos_qS1__acos float64 = -2.4033949117344142
var _cgos_qS2__acos float64 = 2.0209457602335057
var _cgos_qS3__acos float64 = -0.68828397160545329
var _cgos_qS4__acos float64 = 0.077038150555901935
var _cgos_pio2_hi_acos float64 = 1.5707963267948966
var _cgos_pio2_lo_acos float64 = 6.123233995736766e-17
var _cgos_pS0_acos float64 = 0.16666666666666666
var _cgos_pS1_acos float64 = -0.32556581862240092
var _cgos_pS2_acos float64 = 0.20121253213486293
var _cgos_pS3_acos float64 = -0.040055534500679411
var _cgos_pS4_acos float64 = 7.9153499428981453e-4
var _cgos_pS5_acos float64 = 3.4793310759602117e-5
var _cgos_qS1_acos float64 = -2.4033949117344142
var _cgos_qS2_acos float64 = 2.0209457602335057
var _cgos_qS3_acos float64 = -0.68828397160545329
var _cgos_qS4_acos float64 = 0.077038150555901935

func _cgos_R__acos(z float64) float64 {
func _cgos_R_acos(z float64) float64 {
var p float64
var q float64
p = z * (_cgos_pS0__acos + z*(_cgos_pS1__acos+z*(_cgos_pS2__acos+z*(_cgos_pS3__acos+z*(_cgos_pS4__acos+z*_cgos_pS5__acos)))))
q = 1 + z*(_cgos_qS1__acos+z*(_cgos_qS2__acos+z*(_cgos_qS3__acos+z*_cgos_qS4__acos)))
p = z * (_cgos_pS0_acos + z*(_cgos_pS1_acos+z*(_cgos_pS2_acos+z*(_cgos_pS3_acos+z*(_cgos_pS4_acos+z*_cgos_pS5_acos)))))
q = 1 + z*(_cgos_qS1_acos+z*(_cgos_qS2_acos+z*(_cgos_qS3_acos+z*_cgos_qS4_acos)))
return p / q
}
func Acos(x float64) float64 {
Expand Down Expand Up @@ -47,23 +47,23 @@ func Acos(x float64) float64 {
}
if ix-uint32(1072693248)|lx == uint32(0) {
if hx>>int32(31) != 0 {
return float64(int32(2))*_cgos_pio2_hi__acos + float64(7.52316385e-37)
return float64(int32(2))*_cgos_pio2_hi_acos + float64(7.52316385e-37)
}
return float64(int32(0))
}
return float64(int32(0)) / (x - x)
}
if ix < uint32(1071644672) {
if ix <= uint32(1012924416) {
return _cgos_pio2_hi__acos + float64(7.52316385e-37)
return _cgos_pio2_hi_acos + float64(7.52316385e-37)
}
return _cgos_pio2_hi__acos - (x - (_cgos_pio2_lo__acos - x*_cgos_R__acos(x*x)))
return _cgos_pio2_hi_acos - (x - (_cgos_pio2_lo_acos - x*_cgos_R_acos(x*x)))
}
if hx>>int32(31) != 0 {
z = (1 + x) * 0.5
s = Sqrt(z)
w = _cgos_R__acos(z)*s - _cgos_pio2_lo__acos
return float64(int32(2)) * (_cgos_pio2_hi__acos - (s + w))
w = _cgos_R_acos(z)*s - _cgos_pio2_lo_acos
return float64(int32(2)) * (_cgos_pio2_hi_acos - (s + w))
}
z = (1 - x) * 0.5
s = Sqrt(z)
Expand All @@ -75,7 +75,7 @@ func Acos(x float64) float64 {
}
}
c = (z - df*df) / (s + df)
w = _cgos_R__acos(z)*s + c
w = _cgos_R_acos(z)*s + c
return float64(int32(2)) * (df + w)
}

Expand Down
30 changes: 15 additions & 15 deletions acosf.c.i.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ package libc

import unsafe "unsafe"

var _cgos_pio2_hi__acosf float32 = float32(1.5707962513)
var _cgos_pio2_lo__acosf float32 = float32(7.5497894159e-8)
var _cgos_pS0__acosf float32 = float32(0.16666586696999999)
var _cgos_pS1__acosf float32 = float32(-0.042743422091000002)
var _cgos_pS2__acosf float32 = float32(-0.0086563630029999998)
var _cgos_qS1__acosf float32 = float32(-0.7066296339)
var _cgos_pio2_hi_acosf float32 = float32(1.5707962513)
var _cgos_pio2_lo_acosf float32 = float32(7.5497894159e-8)
var _cgos_pS0_acosf float32 = float32(0.16666586696999999)
var _cgos_pS1_acosf float32 = float32(-0.042743422091000002)
var _cgos_pS2_acosf float32 = float32(-0.0086563630029999998)
var _cgos_qS1_acosf float32 = float32(-0.7066296339)

func _cgos_R__acosf(z float32) float32 {
func _cgos_R_acosf(z float32) float32 {
var p float32
var q float32
p = z * (_cgos_pS0__acosf + z*(_cgos_pS1__acosf+z*_cgos_pS2__acosf))
q = 1 + z*_cgos_qS1__acosf
p = z * (_cgos_pS0_acosf + z*(_cgos_pS1_acosf+z*_cgos_pS2_acosf))
q = 1 + z*_cgos_qS1_acosf
return p / q
}
func Acosf(x float32) float32 {
Expand All @@ -34,23 +34,23 @@ func Acosf(x float32) float32 {
if ix >= uint32(1065353216) {
if ix == uint32(1065353216) {
if hx>>int32(31) != 0 {
return float32(int32(2))*_cgos_pio2_hi__acosf + 7.52316385e-37
return float32(int32(2))*_cgos_pio2_hi_acosf + 7.52316385e-37
}
return float32(int32(0))
}
return float32(int32(0)) / (x - x)
}
if ix < uint32(1056964608) {
if ix <= uint32(847249408) {
return _cgos_pio2_hi__acosf + 7.52316385e-37
return _cgos_pio2_hi_acosf + 7.52316385e-37
}
return _cgos_pio2_hi__acosf - (x - (_cgos_pio2_lo__acosf - x*_cgos_R__acosf(x*x)))
return _cgos_pio2_hi_acosf - (x - (_cgos_pio2_lo_acosf - x*_cgos_R_acosf(x*x)))
}
if hx>>int32(31) != 0 {
z = (float32(int32(1)) + x) * 0.5
s = Sqrtf(z)
w = _cgos_R__acosf(z)*s - _cgos_pio2_lo__acosf
return float32(int32(2)) * (_cgos_pio2_hi__acosf - (s + w))
w = _cgos_R_acosf(z)*s - _cgos_pio2_lo_acosf
return float32(int32(2)) * (_cgos_pio2_hi_acosf - (s + w))
}
z = (float32(int32(1)) - x) * 0.5
s = Sqrtf(z)
Expand All @@ -67,7 +67,7 @@ func Acosf(x float32) float32 {
}
}
c = (z - df*df) / (s + df)
w = _cgos_R__acosf(z)*s + c
w = _cgos_R_acosf(z)*s + c
return float32(int32(2)) * (df + w)
}

Expand Down
40 changes: 20 additions & 20 deletions asin.c.i.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ package libc

import unsafe "unsafe"

var _cgos_pio2_hi__asin float64 = 1.5707963267948966
var _cgos_pio2_lo__asin float64 = 6.123233995736766e-17
var _cgos_pS0__asin float64 = 0.16666666666666666
var _cgos_pS1__asin float64 = -0.32556581862240092
var _cgos_pS2__asin float64 = 0.20121253213486293
var _cgos_pS3__asin float64 = -0.040055534500679411
var _cgos_pS4__asin float64 = 7.9153499428981453e-4
var _cgos_pS5__asin float64 = 3.4793310759602117e-5
var _cgos_qS1__asin float64 = -2.4033949117344142
var _cgos_qS2__asin float64 = 2.0209457602335057
var _cgos_qS3__asin float64 = -0.68828397160545329
var _cgos_qS4__asin float64 = 0.077038150555901935
var _cgos_pio2_hi_asin float64 = 1.5707963267948966
var _cgos_pio2_lo_asin float64 = 6.123233995736766e-17
var _cgos_pS0_asin float64 = 0.16666666666666666
var _cgos_pS1_asin float64 = -0.32556581862240092
var _cgos_pS2_asin float64 = 0.20121253213486293
var _cgos_pS3_asin float64 = -0.040055534500679411
var _cgos_pS4_asin float64 = 7.9153499428981453e-4
var _cgos_pS5_asin float64 = 3.4793310759602117e-5
var _cgos_qS1_asin float64 = -2.4033949117344142
var _cgos_qS2_asin float64 = 2.0209457602335057
var _cgos_qS3_asin float64 = -0.68828397160545329
var _cgos_qS4_asin float64 = 0.077038150555901935

func _cgos_R__asin(z float64) float64 {
func _cgos_R_asin(z float64) float64 {
var p float64
var q float64
p = z * (_cgos_pS0__asin + z*(_cgos_pS1__asin+z*(_cgos_pS2__asin+z*(_cgos_pS3__asin+z*(_cgos_pS4__asin+z*_cgos_pS5__asin)))))
q = 1 + z*(_cgos_qS1__asin+z*(_cgos_qS2__asin+z*(_cgos_qS3__asin+z*_cgos_qS4__asin)))
p = z * (_cgos_pS0_asin + z*(_cgos_pS1_asin+z*(_cgos_pS2_asin+z*(_cgos_pS3_asin+z*(_cgos_pS4_asin+z*_cgos_pS5_asin)))))
q = 1 + z*(_cgos_qS1_asin+z*(_cgos_qS2_asin+z*(_cgos_qS3_asin+z*_cgos_qS4_asin)))
return p / q
}
func Asin(x float64) float64 {
Expand All @@ -44,21 +44,21 @@ func Asin(x float64) float64 {
}
}
if ix-uint32(1072693248)|lx == uint32(0) {
return x*_cgos_pio2_hi__asin + float64(7.52316385e-37)
return x*_cgos_pio2_hi_asin + float64(7.52316385e-37)
}
return float64(int32(0)) / (x - x)
}
if ix < uint32(1071644672) {
if ix < uint32(1045430272) && ix >= uint32(1048576) {
return x
}
return x + x*_cgos_R__asin(x*x)
return x + x*_cgos_R_asin(x*x)
}
z = (float64(int32(1)) - Fabs(x)) * 0.5
s = Sqrt(z)
r = _cgos_R__asin(z)
r = _cgos_R_asin(z)
if ix >= uint32(1072640819) {
x = _cgos_pio2_hi__asin - (float64(int32(2))*(s+s*r) - _cgos_pio2_lo__asin)
x = _cgos_pio2_hi_asin - (float64(int32(2))*(s+s*r) - _cgos_pio2_lo_asin)
} else {
var f float64
var c float64
Expand All @@ -70,7 +70,7 @@ func Asin(x float64) float64 {
}
}
c = (z - f*f) / (s + f)
x = 0.5*_cgos_pio2_hi__asin - (float64(int32(2))*s*r - (_cgos_pio2_lo__asin - float64(int32(2))*c) - (0.5*_cgos_pio2_hi__asin - float64(int32(2))*f))
x = 0.5*_cgos_pio2_hi_asin - (float64(int32(2))*s*r - (_cgos_pio2_lo_asin - float64(int32(2))*c) - (0.5*_cgos_pio2_hi_asin - float64(int32(2))*f))
}
if hx>>int32(31) != 0 {
return -x
Expand Down
22 changes: 11 additions & 11 deletions asinf.c.i.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ package libc

import unsafe "unsafe"

var _cgos_pio2__asinf float64 = 1.5707963267948966
var _cgos_pS0__asinf float32 = float32(0.16666586696999999)
var _cgos_pS1__asinf float32 = float32(-0.042743422091000002)
var _cgos_pS2__asinf float32 = float32(-0.0086563630029999998)
var _cgos_qS1__asinf float32 = float32(-0.7066296339)
var _cgos_pio2_asinf float64 = 1.5707963267948966
var _cgos_pS0_asinf float32 = float32(0.16666586696999999)
var _cgos_pS1_asinf float32 = float32(-0.042743422091000002)
var _cgos_pS2_asinf float32 = float32(-0.0086563630029999998)
var _cgos_qS1_asinf float32 = float32(-0.7066296339)

func _cgos_R__asinf(z float32) float32 {
func _cgos_R_asinf(z float32) float32 {
var p float32
var q float32
p = z * (_cgos_pS0__asinf + z*(_cgos_pS1__asinf+z*_cgos_pS2__asinf))
q = 1 + z*_cgos_qS1__asinf
p = z * (_cgos_pS0_asinf + z*(_cgos_pS1_asinf+z*_cgos_pS2_asinf))
q = 1 + z*_cgos_qS1_asinf
return p / q
}
func Asinf(x float32) float32 {
Expand All @@ -29,19 +29,19 @@ func Asinf(x float32) float32 {
ix = hx & uint32(2147483647)
if ix >= uint32(1065353216) {
if ix == uint32(1065353216) {
return float32(float64(x)*_cgos_pio2__asinf + float64(7.52316385e-37))
return float32(float64(x)*_cgos_pio2_asinf + float64(7.52316385e-37))
}
return float32(int32(0)) / (x - x)
}
if ix < uint32(1056964608) {
if ix < uint32(964689920) && ix >= uint32(8388608) {
return x
}
return x + x*_cgos_R__asinf(x*x)
return x + x*_cgos_R_asinf(x*x)
}
z = (float32(int32(1)) - Fabsf(x)) * 0.5
s = Sqrt(float64(z))
x = float32(_cgos_pio2__asinf - float64(int32(2))*(s+s*float64(_cgos_R__asinf(z))))
x = float32(_cgos_pio2_asinf - float64(int32(2))*(s+s*float64(_cgos_R_asinf(z))))
if hx>>int32(31) != 0 {
return -x
}
Expand Down
14 changes: 7 additions & 7 deletions atan.c.i.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package libc

import unsafe "unsafe"

var _cgos_atanhi__atan [4]float64 = [4]float64{0.46364760900080609, 0.78539816339744828, 0.98279372324732905, 1.5707963267948966}
var _cgos_atanlo__atan [4]float64 = [4]float64{2.2698777452961687e-17, 3.061616997868383e-17, 1.3903311031230998e-17, 6.123233995736766e-17}
var _cgos_aT__atan [11]float64 = [11]float64{0.33333333333332932, -0.19999999999876483, 0.14285714272503466, -0.11111110405462356, 0.090908871334365065, -0.0769187620504483, 0.066610731373875312, -0.058335701337905735, 0.049768779946159324, -0.036531572744216916, 0.016285820115365782}
var _cgos_atanhi_atan [4]float64 = [4]float64{0.46364760900080609, 0.78539816339744828, 0.98279372324732905, 1.5707963267948966}
var _cgos_atanlo_atan [4]float64 = [4]float64{2.2698777452961687e-17, 3.061616997868383e-17, 1.3903311031230998e-17, 6.123233995736766e-17}
var _cgos_aT_atan [11]float64 = [11]float64{0.33333333333332932, -0.19999999999876483, 0.14285714272503466, -0.11111110405462356, 0.090908871334365065, -0.0769187620504483, 0.066610731373875312, -0.058335701337905735, 0.049768779946159324, -0.036531572744216916, 0.016285820115365782}

func Atan(x float64) float64 {
var w float64
Expand Down Expand Up @@ -56,7 +56,7 @@ func Atan(x float64) float64 {
}() != 0 {
return x
}
z = *(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_atanhi__atan)))) + uintptr(int32(3))*8)) + float64(7.52316385e-37)
z = *(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_atanhi_atan)))) + uintptr(int32(3))*8)) + float64(7.52316385e-37)
return func() float64 {
if sign != 0 {
return -z
Expand Down Expand Up @@ -104,12 +104,12 @@ func Atan(x float64) float64 {
}
z = x * x
w = z * z
s1 = z * (*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(0))*8)) + w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(2))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(4))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(6))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(8))*8))+w**(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(10))*8)))))))
s2 = w * (*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(1))*8)) + w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(3))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(5))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(7))*8))+w**(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT__atan)))) + uintptr(int32(9))*8))))))
s1 = z * (*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(0))*8)) + w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(2))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(4))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(6))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(8))*8))+w**(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(10))*8)))))))
s2 = w * (*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(1))*8)) + w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(3))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(5))*8))+w*(*(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(7))*8))+w**(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_aT_atan)))) + uintptr(int32(9))*8))))))
if id < int32(0) {
return x - x*(s1+s2)
}
z = *(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_atanhi__atan)))) + uintptr(id)*8)) - (x*(s1+s2) - *(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_atanlo__atan)))) + uintptr(id)*8)) - x)
z = *(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_atanhi_atan)))) + uintptr(id)*8)) - (x*(s1+s2) - *(*float64)(unsafe.Pointer(uintptr(unsafe.Pointer((*float64)(unsafe.Pointer(&_cgos_atanlo_atan)))) + uintptr(id)*8)) - x)
return func() float64 {
if sign != 0 {
return -z
Expand Down
32 changes: 16 additions & 16 deletions atan2.c.i.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package libc

import unsafe "unsafe"

var _cgos_pi__atan2 float64 = 3.1415926535897931
var _cgos_pi_lo__atan2 float64 = 1.2246467991473532e-16
var _cgos_pi_atan2 float64 = 3.1415926535897931
var _cgos_pi_lo_atan2 float64 = 1.2246467991473532e-16

func Atan2(y float64, x float64) float64 {
var z float64
Expand Down Expand Up @@ -104,31 +104,31 @@ func Atan2(y float64, x float64) float64 {
case uint32(1):
return y
case uint32(2):
return _cgos_pi__atan2
return _cgos_pi_atan2
case uint32(3):
return -_cgos_pi__atan2
return -_cgos_pi_atan2
}
}
if ix|lx == uint32(0) {
return func() float64 {
if m&uint32(1) != 0 {
return -_cgos_pi__atan2 / float64(int32(2))
return -_cgos_pi_atan2 / float64(int32(2))
} else {
return _cgos_pi__atan2 / float64(int32(2))
return _cgos_pi_atan2 / float64(int32(2))
}
}()
}
if ix == uint32(2146435072) {
if iy == uint32(2146435072) {
switch m {
case uint32(0):
return _cgos_pi__atan2 / float64(int32(4))
return _cgos_pi_atan2 / float64(int32(4))
case uint32(1):
return -_cgos_pi__atan2 / float64(int32(4))
return -_cgos_pi_atan2 / float64(int32(4))
case uint32(2):
return float64(int32(3)) * _cgos_pi__atan2 / float64(int32(4))
return float64(int32(3)) * _cgos_pi_atan2 / float64(int32(4))
case uint32(3):
return float64(-3) * _cgos_pi__atan2 / float64(int32(4))
return float64(-3) * _cgos_pi_atan2 / float64(int32(4))
}
} else {
switch m {
Expand All @@ -137,18 +137,18 @@ func Atan2(y float64, x float64) float64 {
case uint32(1):
return float64(-0)
case uint32(2):
return _cgos_pi__atan2
return _cgos_pi_atan2
case uint32(3):
return -_cgos_pi__atan2
return -_cgos_pi_atan2
}
}
}
if ix+uint32(67108864) < iy || iy == uint32(2146435072) {
return func() float64 {
if m&uint32(1) != 0 {
return -_cgos_pi__atan2 / float64(int32(2))
return -_cgos_pi_atan2 / float64(int32(2))
} else {
return _cgos_pi__atan2 / float64(int32(2))
return _cgos_pi_atan2 / float64(int32(2))
}
}()
}
Expand All @@ -163,9 +163,9 @@ func Atan2(y float64, x float64) float64 {
case uint32(1):
return -z
case uint32(2):
return _cgos_pi__atan2 - (z - _cgos_pi_lo__atan2)
return _cgos_pi_atan2 - (z - _cgos_pi_lo_atan2)
default:
return z - _cgos_pi_lo__atan2 - _cgos_pi__atan2
return z - _cgos_pi_lo_atan2 - _cgos_pi_atan2
}
return 0
}
Expand Down

0 comments on commit bab50cc

Please sign in to comment.