Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for uint64Tofloat64 (0.21 sec)

  1. src/runtime/vlrt.go

    	_d2v(&y, d)
    	return
    }
    
    func float64touint64(d float64) (y uint64) {
    	_d2v(&y, d)
    	return
    }
    
    func int64tofloat64(y int64) float64 {
    	if y < 0 {
    		return -uint64tofloat64(-uint64(y))
    	}
    	return uint64tofloat64(uint64(y))
    }
    
    func uint64tofloat64(y uint64) float64 {
    	hi := float64(uint32(y >> 32))
    	lo := float64(uint32(y))
    	d := hi*(1<<32) + lo
    	return d
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.int64mod", 1},
    	{"runtime.uint64mod", 1},
    	{"runtime.float64toint64", 1},
    	{"runtime.float64touint64", 1},
    	{"runtime.float64touint32", 1},
    	{"runtime.int64tofloat64", 1},
    	{"runtime.int64tofloat32", 1},
    	{"runtime.uint64tofloat64", 1},
    	{"runtime.uint64tofloat32", 1},
    	{"runtime.uint32tofloat64", 1},
    	{"runtime.complex128div", 1},
    	{"runtime.getcallerpc", 1},
    	{"runtime.getcallersp", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func uint64mod(uint64, uint64) uint64
    func float64toint64(float64) int64
    func float64touint64(float64) uint64
    func float64touint32(float64) uint32
    func int64tofloat64(int64) float64
    func int64tofloat32(int64) float32
    func uint64tofloat64(uint64) float64
    func uint64tofloat32(uint64) float32
    func uint32tofloat64(uint32) float64
    
    func complex128div(num complex128, den complex128) (quo complex128)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"int64mod", funcTag, 131},
    	{"uint64mod", funcTag, 132},
    	{"float64toint64", funcTag, 133},
    	{"float64touint64", funcTag, 134},
    	{"float64touint32", funcTag, 135},
    	{"int64tofloat64", funcTag, 136},
    	{"int64tofloat32", funcTag, 138},
    	{"uint64tofloat64", funcTag, 139},
    	{"uint64tofloat32", funcTag, 140},
    	{"uint32tofloat64", funcTag, 141},
    	{"complex128div", funcTag, 142},
    	{"getcallerpc", funcTag, 143},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    		if ft.IsInteger() {
    			// tt is float32 or float64, and ft is also unsigned
    			if tt.Size() == 4 {
    				return s.uint64Tofloat32(n, v, ft, tt)
    			}
    			if tt.Size() == 8 {
    				return s.uint64Tofloat64(n, v, ft, tt)
    			}
    			s.Fatalf("weird unsigned integer to float conversion %v -> %v", ft, tt)
    		}
    		// ft is float32 or float64, and tt is unsigned integer
    		if ft.Size() == 4 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top