Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFloatSignalingNaNConversionConst (0.43 sec)

  1. src/cmd/compile/internal/test/float_test.go

    		t.Errorf("converting a NaN did not result in a NaN")
    	}
    	s64 := math.Float64frombits(snan64bitsVar)
    	if s64 == s64 {
    		t.Errorf("converting a NaN did not result in a NaN")
    	}
    }
    
    func TestFloatSignalingNaNConversionConst(t *testing.T) {
    	// Test to make sure when we convert a signaling NaN, it converts to a NaN.
    	// (Ideally we want a quiet NaN, but some platforms don't agree.)
    	// See issue 36399 and 36400.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 12.5K bytes
    - Viewed (0)
Back to top