Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for absIdx (0.12 sec)

  1. src/internal/pkgbits/decoder.go

    	return fp
    }
    
    // AbsIdx returns the absolute index for the given (section, index)
    // pair.
    func (pr *PkgDecoder) AbsIdx(k RelocKind, idx Index) int {
    	absIdx := int(idx)
    	if k > 0 {
    		absIdx += int(pr.elemEndsEnds[k-1])
    	}
    	if absIdx >= int(pr.elemEndsEnds[k]) {
    		errorf("%v:%v is out of bounds; %v", k, idx, pr.elemEndsEnds)
    	}
    	return absIdx
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  2. src/math/expm1.go

    	case IsInf(x, 1) || IsNaN(x):
    		return x
    	case IsInf(x, -1):
    		return -1
    	}
    
    	absx := x
    	sign := false
    	if x < 0 {
    		absx = -absx
    		sign = true
    	}
    
    	// filter out huge argument
    	if absx >= Ln2X56 { // if |x| >= 56 * ln2
    		if sign {
    			return -1 // x < -56*ln2, return -1
    		}
    		if absx >= Othreshold { // if |x| >= 709.78...
    			return Inf(1)
    		}
    	}
    
    	// argument reduction
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/DoubleUtils.java

      }
    
      static double bigToDouble(BigInteger x) {
        // This is an extremely fast implementation of BigInteger.doubleValue(). JDK patch pending.
        BigInteger absX = x.abs();
        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  4. src/math/log1p.go

    		return NaN()
    	case x == -1:
    		return Inf(-1)
    	case IsInf(x, 1):
    		return Inf(1)
    	}
    
    	absx := Abs(x)
    
    	var f float64
    	var iu uint64
    	k := 1
    	if absx < Sqrt2M1 { //  |x| < Sqrt(2)-1
    		if absx < Small { // |x| < 2**-29
    			if absx < Tiny { // |x| < 2**-54
    				return x
    			}
    			return x - x*x*0.5
    		}
    		if x > Sqrt2HalfM1 { // Sqrt(2)/2-1 < x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/DoubleUtils.java

      }
    
      static double bigToDouble(BigInteger x) {
        // This is an extremely fast implementation of BigInteger.doubleValue(). JDK patch pending.
        BigInteger absX = x.abs();
        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
        } else if (exponent > MAX_EXPONENT) {
          return x.signum() * POSITIVE_INFINITY;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm/anames.go

    	"MULSD",
    	"NMULSF",
    	"NMULSD",
    	"FMULAF",
    	"FMULAD",
    	"FNMULAF",
    	"FNMULAD",
    	"FMULSF",
    	"FMULSD",
    	"FNMULSF",
    	"FNMULSD",
    	"DIVF",
    	"DIVD",
    	"SQRTF",
    	"SQRTD",
    	"ABSF",
    	"ABSD",
    	"NEGF",
    	"NEGD",
    	"SRL",
    	"SRA",
    	"SLL",
    	"MULU",
    	"DIVU",
    	"MUL",
    	"MMUL",
    	"DIV",
    	"MOD",
    	"MODU",
    	"DIVHW",
    	"DIVUHW",
    	"MOVB",
    	"MOVBS",
    	"MOVBU",
    	"MOVH",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 16 15:58:33 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  7. test/codegen/math.go

    	// amd64:"BTRQ\t[$]63"
    	// arm64:"FABSD\t"
    	// s390x:"LPDFR\t",-"MOVD\t"     (no integer load/store)
    	// ppc64x:"FABS\t"
    	// riscv64:"FABSD\t"
    	// wasm:"F64Abs"
    	// arm/6:"ABSD\t"
    	// mips64/hardfloat:"ABSD\t"
    	// mips/hardfloat:"ABSD\t"
    	sink64[0] = math.Abs(x)
    
    	// amd64:"BTRQ\t[$]63","PXOR"    (TODO: this should be BTSQ)
    	// s390x:"LNDFR\t",-"MOVD\t"     (no integer load/store)
    	// ppc64x:"FNABS\t"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/anames.go

    // Code generated by stringer -i a.out.go -o anames.go -p mips; DO NOT EDIT.
    
    package mips
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    	obj.A_ARCHSPECIFIC: "ABSD",
    	"ABSF",
    	"ABSW",
    	"ADD",
    	"ADDD",
    	"ADDF",
    	"ADDU",
    	"ADDW",
    	"AND",
    	"BEQ",
    	"BFPF",
    	"BFPT",
    	"BGEZ",
    	"BGEZAL",
    	"BGTZ",
    	"BLEZ",
    	"BLTZ",
    	"BLTZAL",
    	"BNE",
    	"BREAK",
    	"CLO",
    	"CLZ",
    	"CMOVF",
    	"CMOVN",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/loong64/anames.go

    // Code generated by stringer -i a.out.go -o anames.go -p loong64; DO NOT EDIT.
    
    package loong64
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    	obj.A_ARCHSPECIFIC: "ABSD",
    	"ABSF",
    	"ADD",
    	"ADDD",
    	"ADDF",
    	"ADDU",
    	"ADDW",
    	"AND",
    	"BEQ",
    	"BGEZ",
    	"BLEZ",
    	"BGTZ",
    	"BLTZ",
    	"BFPF",
    	"BFPT",
    	"BNE",
    	"BREAK",
    	"CLO",
    	"CLZ",
    	"CMPEQD",
    	"CMPEQF",
    	"CMPGED",
    	"CMPGEF",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/armv6.s

    	DIVD.EQ	F3, F4, F5    // 035b840e
    	DIVF.NE	F0, F2        // 002a821e
    	DIVD	F3, F5        // 035b85ee
    	NEGF	F0, F1        // 401ab1ee
    	NEGD	F4, F5        // 445bb1ee
    	ABSF	F0, F1        // c01ab0ee
    	ABSD	F4, F5        // c45bb0ee
    	SQRTF	F0, F1        // c01ab1ee
    	SQRTD	F4, F5        // c45bb1ee
    	MOVFD	F0, F1        // c01ab7ee
    	MOVDF	F4, F5        // c45bb7ee
    
    	LDREX	(R8), R9      // 9f9f98e1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 21 16:30:51 UTC 2017
    - 4.6K bytes
    - Viewed (0)
Back to top