Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SqrtPi (0.07 sec)

  1. src/math/const.go

    	Sqrt2   = 1.41421356237309504880168872420969807856967187537694807317667974 // https://oeis.org/A002193
    	SqrtE   = 1.64872127070012814684865078781416357165377610071014801157507931 // https://oeis.org/A019774
    	SqrtPi  = 1.77245385090551602729816748334114518279754945612238712821380779 // https://oeis.org/A002161
    	SqrtPhi = 1.27201964951406896425242246173749149171560804184009624861664038 // https://oeis.org/A139339
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 14:07:39 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/math/jn.go

    			var temp float64
    			switch s, c := Sincos(x); n & 3 {
    			case 0:
    				temp = c + s
    			case 1:
    				temp = -c + s
    			case 2:
    				temp = -c - s
    			case 3:
    				temp = c - s
    			}
    			b = (1 / SqrtPi) * temp / Sqrt(x)
    		} else {
    			b = J1(x)
    			for i, a := 1, J0(x); i < n; i++ {
    				a, b = b, b*(float64(i+i)/x)-a // avoid underflow
    			}
    		}
    	} else {
    		if x < TwoM29 { // x < 2**-29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 7.2K bytes
    - Viewed (0)
Back to top