Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for atan2Asm (0.23 sec)

  1. src/math/arith_s390x.go

    const haveArchAtan = true
    
    func archAtan(x float64) float64
    func atanTrampolineSetup(x float64) float64
    func atanAsm(x float64) float64
    
    const haveArchAtan2 = true
    
    func archAtan2(y, x float64) float64
    func atan2TrampolineSetup(x, y float64) float64
    func atan2Asm(x, y float64) float64
    
    const haveArchCbrt = true
    
    func archCbrt(x float64) float64
    func cbrtTrampolineSetup(x float64) float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. src/math/stubs_s390x.s

    	MOVD   $·atan2vectorfacility+0x00(SB), R1
    	MOVD   $·atan2(SB), R2
    	MOVD   R2, 0(R1)
    	BR     ·atan2(SB)
    
    vectorimpl:
    	MOVD $·atan2vectorfacility+0x00(SB), R1
    	MOVD $·atan2Asm(SB), R2
    	MOVD R2, 0(R1)
    	BR   ·atan2Asm(SB)
    
    GLOBL ·atan2vectorfacility+0x00(SB), NOPTR, $8
    DATA ·atan2vectorfacility+0x00(SB)/8, $·atan2TrampolineSetup(SB)
    
    TEXT ·archCbrt(SB), NOSPLIT, $0
    	MOVD ·cbrtvectorfacility+0x00(SB), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  3. src/math/atan2_s390x.s

    //      Atan2(y<0, -Inf) = -Pi
    //      Atan2(+Inf, x) = +Pi/2
    //      Atan2(-Inf, x) = -Pi/2
    // The algorithm used is minimax polynomial approximation
    // with coefficients determined with a Remez exchange algorithm.
    
    TEXT	·atan2Asm(SB), NOSPLIT, $0-24
    	// special case
    	MOVD	x+0(FP), R1
    	MOVD	y+8(FP), R2
    
    	// special case Atan2(NaN, y) = NaN
    	MOVD	$~(1<<63), R5
    	AND	R1, R5		// x = |x|
    	MOVD	$PosInf, R3
    	CMPUBLT	R3, R5, returnX
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 04:06:34 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  4. src/math/atan_s390x.s

    //
    // Special cases are:
    //      Atan(±0) = ±0
    //      Atan(±Inf) = ±Pi/2Pi
    // The algorithm used is minimax polynomial approximation
    // with coefficients determined with a Remez exchange algorithm.
    
    TEXT	·atanAsm(SB), NOSPLIT, $0-16
    	FMOVD	x+0(FP), F0
    	//special case Atan(±0) = ±0
    	FMOVD   $(0.0), F1
    	FCMPU   F0, F1
    	BEQ     atanIsZero
    
    	MOVD	$·atanrodataL8<>+0(SB), R5
    	MOVH	$0x3FE0, R3
    	LGDR	F0, R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 15:34:41 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. src/math/atanh_s390x.s

    //      Atanh(x) = NaN if x < -1 or x > 1
    //      Atanh(NaN) = NaN
    // The algorithm used is minimax polynomial approximation
    // with coefficients determined with a Remez exchange algorithm.
    
    TEXT    ·atanhAsm(SB), NOSPLIT, $0-16
    	FMOVD   x+0(FP), F0
    	MOVD    $·atanhrodataL10<>+0(SB), R5
    	LGDR    F0, R1
    	WORD    $0xC0393FEF //iilf  %r3,1072693247
    	BYTE    $0xFF
    	BYTE    $0xFF
    	SRAD    $32, R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/math/arith_s390x_test.go

    			t.Errorf("Atan2(10, %g) = %g, want %g", vf[i], f, atan2[i])
    		}
    	}
    	for i := 0; i < len(vfatan2SC); i++ {
    		if f := Atan2Novec(vfatan2SC[i][0], vfatan2SC[i][1]); !alike(atan2SC[i], f) {
    			t.Errorf("Atan2(%g, %g) = %g, want %g", vfatan2SC[i][0], vfatan2SC[i][1], f, atan2SC[i])
    		}
    	}
    }
    
    func TestCbrtNovec(t *testing.T) {
    	if !HasVX {
    		t.Skipf("no vector support")
    	}
    	for i := 0; i < len(vf); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 08 19:52:30 UTC 2017
    - 10.8K bytes
    - Viewed (0)
  7. src/math/all_test.go

    			t.Errorf("Atan2(10, %g) = %g, want %g", vf[i], f, atan2[i])
    		}
    	}
    	for i := 0; i < len(vfatan2SC); i++ {
    		if f := Atan2(vfatan2SC[i][0], vfatan2SC[i][1]); !alike(atan2SC[i], f) {
    			t.Errorf("Atan2(%g, %g) = %g, want %g", vfatan2SC[i][0], vfatan2SC[i][1], f, atan2SC[i])
    		}
    	}
    }
    
    func TestCbrt(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    		if f := Cbrt(vf[i]); !veryclose(cbrt[i], f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
Back to top