Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for float64FromBits (0.21 sec)

  1. src/math/big/float_test.go

    		{"0x1.9p-1074", math.Float64frombits(0x00000000000000002), Above},
    
    		{"0x2.0p-1074", math.Float64frombits(0x00000000000000002), Exact},
    		{"0x2.8p-1074", math.Float64frombits(0x00000000000000002), Below}, // rounded down to even
    		{"0x2.9p-1074", math.Float64frombits(0x00000000000000003), Above},
    
    		{"0x3.0p-1074", math.Float64frombits(0x00000000000000003), Exact},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. src/math/all_test.go

    	{NaN(), NaN()},
    }
    var nextafter64SC = []float64{
    	0,
    	0,
    	-4.9406564584124654418e-324, // Float64frombits(0x8000000000000001)
    	NaN(),
    	4.9406564584124654418e-324, // Float64frombits(0x0000000000000001)
    	Copysign(0, -1),
    	Copysign(0, -1),
    	-4.9406564584124654418e-324, // Float64frombits(0x8000000000000001)
    	NaN(),
    	NaN(),
    }
    
    var vfpowSC = [][2]float64{
    	{Inf(-1), -Pi},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    }
    
    // auxTo32F decodes a float32 from the AuxInt value provided.
    func auxTo32F(i int64) float32 {
    	return truncate64Fto32F(math.Float64frombits(uint64(i)))
    }
    
    // auxTo64F decodes a float64 from the AuxInt value provided.
    func auxTo64F(i int64) float64 {
    	return math.Float64frombits(uint64(i))
    }
    
    func auxIntToBool(i int64) bool {
    	if i == 0 {
    		return false
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (MOVDstore [off] {sym} ptr (MFVSRD x) mem) => (FMOVDstore [off] {sym} ptr x mem)
    
    (MTVSRD (MOVDconst [c])) && !math.IsNaN(math.Float64frombits(uint64(c))) => (FMOVDconst [math.Float64frombits(uint64(c))])
    (MFVSRD (FMOVDconst [c])) => (MOVDconst [int64(math.Float64bits(c))])
    
    (MTVSRD x:(MOVDload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (FMOVDload [off] {sym} ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    							if sdat, err := sect.Data(); err == nil {
    								data := sdat[s.Value-sect.Addr:]
    								floats = make([]float64, len(data)/8)
    								for i := range floats {
    									floats[i] = math.Float64frombits(bo.Uint64(data[i*8:]))
    								}
    							}
    						}
    					}
    				default:
    					if n := indexOfDebugStr(s.Name); n != -1 {
    						// Found it. Now find data section.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ppc64/ssa.go

    		p.From.Offset = v.AuxInt
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpPPC64FMOVDconst, ssa.OpPPC64FMOVSconst:
    		p := s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_FCONST
    		p.From.Val = math.Float64frombits(uint64(v.AuxInt))
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpPPC64FCMPU, ssa.OpPPC64CMP, ssa.OpPPC64CMPW, ssa.OpPPC64CMPU, ssa.OpPPC64CMPWU:
    		p := s.Prog(v.Op.Asm())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/S390X.rules

      => (LGDR (CPSDR <t> y x))
    (OR (RISBGZ (LGDR x) {r}) (MOVDconst [c]))
      && c >= 0
      && r == s390x.NewRotateParams(0, 0, 0)
      => (LGDR (CPSDR <x.Type> (FMOVDconst <x.Type> [math.Float64frombits(uint64(c))]) x))
    (CPSDR y (FMOVDconst [c])) && !math.Signbit(c) => (LPDFR y)
    (CPSDR y (FMOVDconst [c])) && math.Signbit(c)  => (LNDFR y)
    
    // absorb negations into set/clear sign bit
    (FNEG  (LPDFR x)) => (LNDFR x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
Back to top