Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFloat64Distribution (0.22 sec)

  1. src/math/big/rat_test.go

    							b, exp, f, f, math.Ldexp(float64(b), exp), r)
    					}
    
    					checkNonLossyRoundtrip32(t, f)
    				}
    			}
    		}
    	}
    }
    
    func TestFloat64Distribution(t *testing.T) {
    	// Generate a distribution of (sign, mantissa, exp) values
    	// broader than the float64 range, and check Rat.Float64()
    	// always picks the closest float64 approximation.
    	var add = []int64{
    		0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 00:15:59 UTC 2022
    - 18.9K bytes
    - Viewed (0)
Back to top