- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for c3div2 (0.09 sec)
-
test/fixedbugs/bug090.go
package main const ( c3div2 = 3/2; f3div2 = 3./2.; ) func assert(t bool, s string) { if !t { panic(s) } } func main() { var i int; var f float64; assert(c3div2 == 1, "3/2"); assert(f3div2 == 1.5, "3/2"); i = c3div2; assert(i == c3div2, "i == c3div2"); f = c3div2; assert(f == c3div2, "f == c3div2"); f = f3div2;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 03 17:55:56 UTC 2020 - 883 bytes - Viewed (0) -
test/const.go
// verify that all (in range) are assignable as ints var i int i = c0 assert(i == c0, "i == c0") i = cm1 assert(i == cm1, "i == cm1") i = c1 assert(i == c1, "i == c1") i = c3div2 assert(i == c3div2, "i == c3div2") i = c1e3 assert(i == c1e3, "i == c1e3") // verify that all are assignable as floats var f float64 f = c0 assert(f == c0, "f == c0") f = cm1 assert(f == cm1, "f == cm1")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 26 23:54:29 UTC 2019 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize.mlir
// Fusing: %[[div1:[0-9].*]] = tfl.div %arg0, %[[div]] {fused_activation_function = "RELU"} : tensor<1xf32> // Fusing: %[[relu:[0-9].*]] = "tfl.relu"(%arg0) : (tensor<1xf32>) -> tensor<1xf32> // Fusing: %[[div2:[0-9].*]] = tfl.div %[[relu]], %[[div1]] {fused_activation_function = "RELU6"} : tensor<1xf32> // Fusing: return } func.func @ReorderAddWithConstant(%arg0: tensor<2x2xf32>) -> tensor<2x2xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 284.1K bytes - Viewed (0)