OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.22.0
/
src
/
math
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
abs.go
366 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
acos_s390x.s
3.73 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
acosh.go
1.71 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
acosh_s390x.s
4.32 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
all_test.go
86.77 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
arith_s390x.go
3.73 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
arith_s390x_test.go
10.78 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asin.go
1.09 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asin_s390x.s
4.16 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asinh.go
1.92 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
asinh_s390x.s
5.74 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
atan.go
3.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
atan2.go
1.52 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
atan2_s390x.s
6.93 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
atan_s390x.s
3.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
atanh.go
1.99 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
atanh_s390x.s
5.06 KB
02/02/2024 06:09:55 PM
rw-r--r--
📁
big
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📁
bits
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
bits.go
1.87 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
cbrt.go
2.31 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
cbrt_s390x.s
4.89 KB
02/02/2024 06:09:55 PM
rw-r--r--
📁
cmplx
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
const.go
2.76 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
const_test.go
1.29 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
copysign.go
396 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
cosh_s390x.s
5.59 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dim.go
1.87 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dim_amd64.s
1.92 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dim_arm64.s
963 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
dim_asm.go
344 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
dim_noasm.go
410 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
dim_riscv64.s
1.16 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
dim_s390x.s
1.97 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
erf.go
11.51 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
erf_s390x.s
8.5 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
erfc_s390x.s
14.4 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
erfinv.go
3.37 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
example_test.go
3.75 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp.go
5.38 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp2_asm.go
252 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp2_noasm.go
284 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp_amd64.go
261 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp_amd64.s
4.24 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp_arm64.s
5.36 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp_asm.go
268 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp_noasm.go
302 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
exp_s390x.s
4.65 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
expm1.go
7.91 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
expm1_s390x.s
5.29 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_s390x_test.go
732 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
export_test.go
357 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor.go
3.29 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_386.s
1.47 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_amd64.s
2 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_arm64.s
573 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_asm.go
431 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_noasm.go
531 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_ppc64x.s
499 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_s390x.s
579 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
floor_wasm.s
459 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
fma.go
4.61 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
frexp.go
929 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
gamma.go
5.53 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
huge_test.go
2.91 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
hypot.go
850 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
hypot_386.s
1.81 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
hypot_amd64.s
1.05 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
hypot_asm.go
264 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
hypot_noasm.go
297 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
j0.go
13.6 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
j1.go
13.3 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
jn.go
7.18 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
ldexp.go
1.05 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
lgamma.go
11.03 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
log.go
3.86 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
log10.go
873 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
log10_s390x.s
4.73 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
log1p.go
6.34 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
log1p_s390x.s
5.15 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
log_amd64.s
3.66 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
log_asm.go
259 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
log_s390x.s
4.31 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
log_stub.go
292 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
logb.go
1021 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
mod.go
903 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
modf.go
913 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
modf_arm64.s
447 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
modf_asm.go
292 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
modf_noasm.go
326 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
modf_ppc64x.s
416 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
nextafter.go
1.21 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
pow.go
3.65 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
pow10.go
1.24 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
pow_s390x.s
16.27 KB
02/02/2024 06:09:55 PM
rw-r--r--
📁
rand
-
02/02/2024 06:09:55 PM
rwxr-xr-x
📄
remainder.go
2.04 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
signbit.go
302 bytes
02/02/2024 06:09:55 PM
rw-r--r--
📄
sin.go
6.35 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
sin_s390x.s
8.57 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
sincos.go
1.76 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
sinh.go
1.69 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
sinh_s390x.s
5.98 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
sqrt.go
4.75 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
stubs.go
2.57 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
stubs_s390x.s
12.38 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
tan.go
3.68 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
tan_s390x.s
2.72 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
tanh.go
2.66 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
tanh_s390x.s
4.57 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
trig_reduce.go
3.34 KB
02/02/2024 06:09:55 PM
rw-r--r--
📄
unsafe.go
1.27 KB
02/02/2024 06:09:55 PM
rw-r--r--
Editing: pow10.go
Close
// 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 math // pow10tab stores the pre-computed values 10**i for i < 32. var pow10tab = [...]float64{ 1e00, 1e01, 1e02, 1e03, 1e04, 1e05, 1e06, 1e07, 1e08, 1e09, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24, 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, } // pow10postab32 stores the pre-computed value for 10**(i*32) at index i. var pow10postab32 = [...]float64{ 1e00, 1e32, 1e64, 1e96, 1e128, 1e160, 1e192, 1e224, 1e256, 1e288, } // pow10negtab32 stores the pre-computed value for 10**(-i*32) at index i. var pow10negtab32 = [...]float64{ 1e-00, 1e-32, 1e-64, 1e-96, 1e-128, 1e-160, 1e-192, 1e-224, 1e-256, 1e-288, 1e-320, } // Pow10 returns 10**n, the base-10 exponential of n. // // Special cases are: // // Pow10(n) = 0 for n < -323 // Pow10(n) = +Inf for n > 308 func Pow10(n int) float64 { if 0 <= n && n <= 308 { return pow10postab32[uint(n)/32] * pow10tab[uint(n)%32] } if -323 <= n && n <= 0 { return pow10negtab32[uint(-n)/32] / pow10tab[uint(-n)%32] } // n < -323 || 308 < n if n > 0 { return Inf(1) } // n < -323 return 0 }