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: cosh_s390x.s
Close
// Copyright 2016 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. #include "textflag.h" // Constants DATA coshrodataL23<>+0(SB)/8, $0.231904681384629956E-16 DATA coshrodataL23<>+8(SB)/8, $0.693147180559945286E+00 DATA coshrodataL23<>+16(SB)/8, $0.144269504088896339E+01 DATA coshrodataL23<>+24(SB)/8, $704.E0 GLOBL coshrodataL23<>+0(SB), RODATA, $32 DATA coshxinf<>+0(SB)/8, $0x7FF0000000000000 GLOBL coshxinf<>+0(SB), RODATA, $8 DATA coshxlim1<>+0(SB)/8, $800.E0 GLOBL coshxlim1<>+0(SB), RODATA, $8 DATA coshxaddhy<>+0(SB)/8, $0xc2f0000100003fdf GLOBL coshxaddhy<>+0(SB), RODATA, $8 DATA coshx4ff<>+0(SB)/8, $0x4ff0000000000000 GLOBL coshx4ff<>+0(SB), RODATA, $8 DATA coshe1<>+0(SB)/8, $0x3ff000000000000a GLOBL coshe1<>+0(SB), RODATA, $8 // Log multiplier table DATA coshtab<>+0(SB)/8, $0.442737824274138381E-01 DATA coshtab<>+8(SB)/8, $0.263602189790660309E-01 DATA coshtab<>+16(SB)/8, $0.122565642281703586E-01 DATA coshtab<>+24(SB)/8, $0.143757052860721398E-02 DATA coshtab<>+32(SB)/8, $-.651375034121276075E-02 DATA coshtab<>+40(SB)/8, $-.119317678849450159E-01 DATA coshtab<>+48(SB)/8, $-.150868749549871069E-01 DATA coshtab<>+56(SB)/8, $-.161992609578469234E-01 DATA coshtab<>+64(SB)/8, $-.154492360403337917E-01 DATA coshtab<>+72(SB)/8, $-.129850717389178721E-01 DATA coshtab<>+80(SB)/8, $-.892902649276657891E-02 DATA coshtab<>+88(SB)/8, $-.338202636596794887E-02 DATA coshtab<>+96(SB)/8, $0.357266307045684762E-02 DATA coshtab<>+104(SB)/8, $0.118665304327406698E-01 DATA coshtab<>+112(SB)/8, $0.214434994118118914E-01 DATA coshtab<>+120(SB)/8, $0.322580645161290314E-01 GLOBL coshtab<>+0(SB), RODATA, $128 // Minimax polynomial approximations DATA coshe2<>+0(SB)/8, $0.500000000000004237e+00 GLOBL coshe2<>+0(SB), RODATA, $8 DATA coshe3<>+0(SB)/8, $0.166666666630345592e+00 GLOBL coshe3<>+0(SB), RODATA, $8 DATA coshe4<>+0(SB)/8, $0.416666664838056960e-01 GLOBL coshe4<>+0(SB), RODATA, $8 DATA coshe5<>+0(SB)/8, $0.833349307718286047e-02 GLOBL coshe5<>+0(SB), RODATA, $8 DATA coshe6<>+0(SB)/8, $0.138926439368309441e-02 GLOBL coshe6<>+0(SB), RODATA, $8 // Cosh returns the hyperbolic cosine of x. // // Special cases are: // Cosh(Β±0) = 1 // Cosh(Β±Inf) = +Inf // Cosh(NaN) = NaN // The algorithm used is minimax polynomial approximation // with coefficients determined with a Remez exchange algorithm. TEXT Β·coshAsm(SB),NOSPLIT,$0-16 FMOVD x+0(FP), F0 MOVD $coshrodataL23<>+0(SB), R9 LTDBR F0, F0 MOVD $0x4086000000000000, R2 MOVD $0x4086000000000000, R3 BLTU L19 FMOVD F0, F4 L2: WORD $0xED409018 //cdb %f4,.L24-.L23(%r9) BYTE $0x00 BYTE $0x19 BGE L14 //jnl .L14 BVS L14 WFCEDBS V4, V4, V2 BEQ L20 L1: FMOVD F0, ret+8(FP) RET L14: WFCEDBS V4, V4, V2 BVS L1 MOVD $coshxlim1<>+0(SB), R1 FMOVD 0(R1), F2 WFCHEDBS V4, V2, V2 BEQ L21 MOVD $coshxaddhy<>+0(SB), R1 FMOVD coshrodataL23<>+16(SB), F5 FMOVD 0(R1), F2 WFMSDB V0, V5, V2, V5 FMOVD coshrodataL23<>+8(SB), F3 FADD F5, F2 MOVD $coshe6<>+0(SB), R1 WFMSDB V2, V3, V0, V3 FMOVD 0(R1), F6 WFMDB V3, V3, V1 MOVD $coshe4<>+0(SB), R1 FMOVD coshrodataL23<>+0(SB), F7 WFMADB V2, V7, V3, V2 FMOVD 0(R1), F3 MOVD $coshe5<>+0(SB), R1 WFMADB V1, V6, V3, V6 FMOVD 0(R1), F7 MOVD $coshe3<>+0(SB), R1 FMOVD 0(R1), F3 WFMADB V1, V7, V3, V7 FNEG F2, F3 LGDR F5, R1 MOVD $coshe2<>+0(SB), R3 WFCEDBS V4, V0, V0 FMOVD 0(R3), F5 MOVD $coshe1<>+0(SB), R3 WFMADB V1, V6, V5, V6 FMOVD 0(R3), F5 RISBGN $0, $15, $48, R1, R2 WFMADB V1, V7, V5, V1 BVS L22 RISBGZ $57, $60, $3, R1, R4 MOVD $coshtab<>+0(SB), R3 WFMADB V3, V6, V1, V6 WORD $0x68043000 //ld %f0,0(%r4,%r3) FMSUB F0, F3, F2 WORD $0xA71AF000 //ahi %r1,-4096 WFMADB V2, V6, V0, V6 L17: RISBGN $0, $15, $48, R1, R2 LDGR R2, F2 FMADD F2, F6, F2 MOVD $coshx4ff<>+0(SB), R1 FMOVD 0(R1), F0 FMUL F2, F0 FMOVD F0, ret+8(FP) RET L19: FNEG F0, F4 BR L2 L20: MOVD $coshxaddhy<>+0(SB), R1 FMOVD coshrodataL23<>+16(SB), F3 FMOVD 0(R1), F2 WFMSDB V0, V3, V2, V3 FMOVD coshrodataL23<>+8(SB), F4 FADD F3, F2 MOVD $coshe6<>+0(SB), R1 FMSUB F4, F2, F0 FMOVD 0(R1), F6 WFMDB V0, V0, V1 MOVD $coshe4<>+0(SB), R1 FMOVD 0(R1), F4 MOVD $coshe5<>+0(SB), R1 FMOVD coshrodataL23<>+0(SB), F5 WFMADB V1, V6, V4, V6 FMADD F5, F2, F0 FMOVD 0(R1), F2 MOVD $coshe3<>+0(SB), R1 FMOVD 0(R1), F4 WFMADB V1, V2, V4, V2 MOVD $coshe2<>+0(SB), R1 FMOVD 0(R1), F5 FNEG F0, F4 WFMADB V1, V6, V5, V6 MOVD $coshe1<>+0(SB), R1 FMOVD 0(R1), F5 WFMADB V1, V2, V5, V1 LGDR F3, R1 MOVD $coshtab<>+0(SB), R5 WFMADB V4, V6, V1, V3 RISBGZ $57, $60, $3, R1, R4 WFMSDB V4, V6, V1, V6 WORD $0x68145000 //ld %f1,0(%r4,%r5) WFMSDB V4, V1, V0, V2 WORD $0xA7487FBE //lhi %r4,32702 FMADD F3, F2, F1 SUBW R1, R4 RISBGZ $57, $60, $3, R4, R12 WORD $0x682C5000 //ld %f2,0(%r12,%r5) FMSUB F2, F4, F0 RISBGN $0, $15, $48, R1, R2 WFMADB V0, V6, V2, V6 RISBGN $0, $15, $48, R4, R3 LDGR R2, F2 LDGR R3, F0 FMADD F2, F1, F2 FMADD F0, F6, F0 FADD F2, F0 FMOVD F0, ret+8(FP) RET L22: WORD $0xA7387FBE //lhi %r3,32702 MOVD $coshtab<>+0(SB), R4 SUBW R1, R3 WFMSDB V3, V6, V1, V6 RISBGZ $57, $60, $3, R3, R3 WORD $0x68034000 //ld %f0,0(%r3,%r4) FMSUB F0, F3, F2 WORD $0xA7386FBE //lhi %r3,28606 WFMADB V2, V6, V0, V6 SUBW R1, R3, R1 BR L17 L21: MOVD $coshxinf<>+0(SB), R1 FMOVD 0(R1), F0 FMOVD F0, ret+8(FP) RET