Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for fracu (0.04 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    // The pattern matched executes the following computation:
    // frac = x - floor(x)
    // to_even = (floor(x) - 2 * floor(0.5 * x)) == 1
    // if frac > 0.5 || (frac == 0.5 && to_even)
    //   return floor(x) + 1
    // else
    //   return floor(x)
    def : Pat<(MHLO_SelectOp
                (MHLO_OrOp
                  (MHLO_CompareOp (MHLO_SubtractOp:$frac
                                   $input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. src/math/ldexp.go

    		return frac
    	}
    	frac, e := normalize(frac)
    	exp += e
    	x := Float64bits(frac)
    	exp += int(x>>shift)&mask - bias
    	if exp < -1075 {
    		return Copysign(0, frac) // underflow
    	}
    	if exp > 1023 { // overflow
    		if frac < 0 {
    			return Inf(-1)
    		}
    		return Inf(1)
    	}
    	var m float64 = 1
    	if exp < -1022 { // denormal
    		exp += 53
    		m = 1.0 / (1 << 53) // 2**-53
    	}
    	x &^= mask << shift
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/runtime/vdso_freebsd.go

    var timekeepSharedPage *vdsoTimekeep
    
    //go:nosplit
    func (bt *bintime) Add(bt2 *bintime) {
    	u := bt.frac
    	bt.frac += bt2.frac
    	if u > bt.frac {
    		bt.sec++
    	}
    	bt.sec += bt2.sec
    }
    
    //go:nosplit
    func (bt *bintime) AddX(x uint64) {
    	u := bt.frac
    	bt.frac += x
    	if u > bt.frac {
    		bt.sec++
    	}
    }
    
    var (
    	// binuptimeDummy is used in binuptime as the address of an atomic.Load, to simulate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/math/log10.go

    	if haveArchLog2 {
    		return archLog2(x)
    	}
    	return log2(x)
    }
    
    func log2(x float64) float64 {
    	frac, exp := Frexp(x)
    	// Make sure exact powers of two give an exact answer.
    	// Don't depend on Log(0.5)*(1/Ln2)+exp being exactly exp-1.
    	if frac == 0.5 {
    		return float64(exp - 1)
    	}
    	return Log(frac)*(1/Ln2) + float64(exp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 873 bytes
    - Viewed (0)
  5. src/math/modf_ppc64x.s

    // license that can be found in the LICENSE file.
    
    //go:build ppc64 || ppc64le
    
    #include "textflag.h"
    
    // func archModf(f float64) (int float64, frac float64)
    TEXT ·archModf(SB),NOSPLIT,$0
    	FMOVD	f+0(FP), F0
    	FRIZ	F0, F1
    	FMOVD	F1, int+8(FP)
    	FSUB	F1, F0, F2
    	FCPSGN	F2, F0, F2
    	FMOVD	F2, frac+16(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 416 bytes
    - Viewed (0)
  6. pkg/ctrlz/topics/assets/templates/mem.html

                    document.getElementById("LastGC").innerText = d;
    
                    let frac = ms.GCCPUFraction;
                    if (frac < 0) {
                        frac = 0.0;
                    }
                    let percent = (frac * 100).toFixed(2);
                    document.getElementById("GCCPUFraction").innerText = percent + "%";
    
                    updateRefreshTime();
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. src/runtime/defs_freebsd_arm.go

    	filter    int16
    	flags     uint16
    	fflags    uint32
    	pad_cgo_0 [4]byte
    	data      int64
    	udata     *byte
    	pad_cgo_1 [4]byte
    	ext       [4]uint64
    }
    
    type bintime struct {
    	sec  int64
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. test/codegen/condmove.go

    		a = 256
    	}
    	// amd64:"CMOVQNE","CMOVQPS"
    	// arm64:"CSEL\tNE"
    	// ppc64x:"ISEL\t[$]2"
    	// wasm:"Select"
    	return a
    }
    
    //go:noinline
    func frexp(f float64) (frac float64, exp int) {
    	return 1.0, 4
    }
    
    //go:noinline
    func ldexp(frac float64, exp int) float64 {
    	return 1.0
    }
    
    // Generate a CMOV with a floating comparison and integer move.
    func cmovfloatint2(x, y float64) float64 {
    	yfr, yexp := 4.0, 5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. src/runtime/defs_freebsd_arm64.go

    }
    
    type keventt struct {
    	ident  uint64
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    	ext    [4]uint64
    }
    
    type bintime struct {
    	sec  int64
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/runtime/defs_freebsd_386.go

    }
    
    type keventt struct {
    	ident  uint32
    	filter int16
    	flags  uint16
    	fflags uint32
    	data   int64
    	udata  *byte
    	ext    [4]uint64
    }
    
    type bintime struct {
    	sec  int32
    	frac uint64
    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top