Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for realAlike (0.07 sec)

  1. src/math/cmplx/cmath_test.go

    func cVeryclose(a, b complex128) bool          { return cTolerance(a, b, 4e-16) }
    func cAlike(a, b complex128) bool {
    	var realAlike, imagAlike bool
    	if isExact(real(b)) {
    		realAlike = alike(real(a), real(b))
    	} else {
    		// Allow non-exact special cases to have errors in ULP.
    		realAlike = veryclose(real(a), real(b))
    	}
    	if isExact(imag(b)) {
    		imagAlike = alike(imag(a), imag(b))
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
Back to top