Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fracu (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // abs(sin(pi * frac(x))), where frac(x) is the fractional part of x.  This
        // is more numerically accurate: It doesn't overflow to inf like pi * x can,
        // and if x is an integer, it evaluates to 0 exactly, which is significant
        // because we then take the log of this value, and log(0) is inf.
        //
        // We don't have a frac(x) primitive in XLA and computing it is tricky, but
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    		{"0.5", 11, "1024"},
    		{"-0.5", -2, "-0.125"},
    		{"32", 5, "1024"},
    		{"1024", -10, "1"},
    	} {
    		frac := makeFloat(test.frac)
    		want := makeFloat(test.z)
    		var z Float
    		z.SetMantExp(frac, test.exp)
    		if !alike(&z, want) {
    			t.Errorf("SetMantExp(%s, %d) = %s; want %s", test.frac, test.exp, z.Text('g', 10), test.z)
    		}
    		// test inverse property
    		mant := new(Float)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top