Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkFloat32frombits (0.14 sec)

  1. src/math/all_test.go

    func BenchmarkFloat32bits(b *testing.B) {
    	y := uint32(0)
    	for i := 0; i < b.N; i++ {
    		y = Float32bits(roundFloat32)
    	}
    	GlobalI = int(y)
    }
    
    var roundUint32 = uint32(5)
    
    func BenchmarkFloat32frombits(b *testing.B) {
    	x := float32(0.0)
    	for i := 0; i < b.N; i++ {
    		x = Float32frombits(roundUint32)
    	}
    	GlobalF = float64(x)
    }
    
    func BenchmarkFMA(b *testing.B) {
    	x := 0.0
    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