Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 110 for fabs (0.09 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

      if (!cst_op) return false;
      ElementsAttr value = cst_op.getValue();
      if (!value.isSplat()) return false;
      if (!value.getElementType().isF32()) return false;
      return std::abs(value.getSplatValue<float>() - val) < kTolerance;
    }
    
    // Determines if the given op is semantically that of the gauss error function.
    bool MatchERF(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    }
    
    func float64close(x, y float64) bool {
    	x0 := float64NaNTo0(x)
    	y0 := float64NaNTo0(y)
    	diff := math.Abs(x0 - y0)
    	den := math.Max(math.Abs(x0), math.Abs(y0))
    	return den == 0 || diff/den < 1e-10
    }
    
    func uint64max(a, b uint64) uint64 {
    	if b > a {
    		return b
    	}
    	return a
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  3. src/encoding/json/scanner.go

    func stateFal(s *scanner, c byte) int {
    	if c == 's' {
    		s.step = stateFals
    		return scanContinue
    	}
    	return s.error(c, "in literal false (expecting 's')")
    }
    
    // stateFals is the state after reading `fals`.
    func stateFals(s *scanner, c byte) int {
    	if c == 'e' {
    		s.step = stateEndValue
    		return scanContinue
    	}
    	return s.error(c, "in literal false (expecting 'e')")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_riscv64.go

    	SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, u_long offset, u_int scale); }
    	SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, int facs, pid_t pid); }
    	SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
    	SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go

    	SYS_PROFIL         = 44  // { int sys_profil(caddr_t samples, size_t size, u_long offset, u_int scale); }
    	SYS_KTRACE         = 45  // { int sys_ktrace(const char *fname, int ops, int facs, pid_t pid); }
    	SYS_SIGACTION      = 46  // { int sys_sigaction(int signum, const struct sigaction *nsa, struct sigaction *osa); }
    	SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  6. src/testing/testing.go

    // This is known as "black box" testing.
    //
    //	package abs_test
    //
    //	import (
    //		"testing"
    //
    //		"path_to_pkg/abs"
    //	)
    //
    //	func TestAbs(t *testing.T) {
    //	    got := abs.Abs(-1)
    //	    if got != 1 {
    //	        t.Errorf("Abs(-1) = %d; want 1", got)
    //	    }
    //	}
    //
    // For more detail, run "go help test" and "go help testflag".
    //
    // # Benchmarks
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    		}
    		// and turn it into a float64
    		x := math.Float64frombits(binary.LittleEndian.Uint64(b))
    		if math.IsNaN(x) || math.IsInf(x, 0) {
    			continue
    		}
    		x = math.Abs(x)
    		if x < 0x1p-1000 { // avoid underflow patterns
    			continue
    		}
    		frac, _ := math.Frexp(x) // 52 bits of randomness
    		return frac*2 - 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    FAB5          ; mapped                 ; 8779          # 4.1  CJK COMPATIBILITY IDEOGRAPH-FAB5
    FAB6          ; mapped                 ; 8941          # 4.1  CJK COMPATIBILITY IDEOGRAPH-FAB6
    FAB7          ; mapped                 ; 8986          # 4.1  CJK COMPATIBILITY IDEOGRAPH-FAB7
    FAB8          ; mapped                 ; 8996          # 4.1  CJK COMPATIBILITY IDEOGRAPH-FAB8
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    	n = unsafe.Sizeof(uname.Version)
    	if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) {
    		return err
    	}
    
    	// The version might have newlines or tabs in it, convert them to
    	// spaces.
    	for i, b := range uname.Version {
    		if b == '\n' || b == '\t' {
    			if i == len(uname.Version)-1 {
    				uname.Version[i] = 0
    			} else {
    				uname.Version[i] = ' '
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. src/encoding/xml/read_test.go

    didn&amp;#39;t know where to put the tab stops.  Another problem
    was that some of the code assumed that string byte
    offsets were the same as column offsets, which is only
    true if there are no tabs.
    
    In the process of fixing this, I cleaned up the arguments
    to Fold and ExpandTabs and renamed them Break and
    _ExpandTabs so that I could be sure that I found all the
    call sites.  I also wanted to verify that ExpandTabs was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top