Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Float32Val (0.28 sec)

  1. src/cmd/compile/internal/types2/const.go

    		return x.Kind() == constant.Bool
    	}
    
    	return false
    }
    
    func fitsFloat32(x constant.Value) bool {
    	f32, _ := constant.Float32Val(x)
    	f := float64(f32)
    	return !math.IsInf(f, 0)
    }
    
    func roundFloat32(x constant.Value) constant.Value {
    	f32, _ := constant.Float32Val(x)
    	f := float64(f32)
    	if !math.IsInf(f, 0) {
    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/go/types/const.go

    		return x.Kind() == constant.Bool
    	}
    
    	return false
    }
    
    func fitsFloat32(x constant.Value) bool {
    	f32, _ := constant.Float32Val(x)
    	f := float64(f32)
    	return !math.IsInf(f, 0)
    }
    
    func roundFloat32(x constant.Value) constant.Value {
    	f32, _ := constant.Float32Val(x)
    	f := float64(f32)
    	if !math.IsInf(f, 0) {
    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"BitLen", Func, 5},
    		{"Bool", Const, 5},
    		{"BoolVal", Func, 5},
    		{"Bytes", Func, 5},
    		{"Compare", Func, 5},
    		{"Complex", Const, 5},
    		{"Denom", Func, 5},
    		{"Float", Const, 5},
    		{"Float32Val", Func, 5},
    		{"Float64Val", Func, 5},
    		{"Imag", Func, 5},
    		{"Int", Const, 5},
    		{"Int64Val", Func, 5},
    		{"Kind", Type, 5},
    		{"Make", Func, 13},
    		{"MakeBool", Func, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top