• Home
  • Raw
  • Download

Lines Matching refs:opt

83     expectEquals(15, $opt$Mul(5, 3));  in mulInt()
84 expectEquals(0, $opt$Mul(0, 0)); in mulInt()
85 expectEquals(0, $opt$Mul(0, 3)); in mulInt()
86 expectEquals(0, $opt$Mul(3, 0)); in mulInt()
87 expectEquals(-3, $opt$Mul(1, -3)); in mulInt()
88 expectEquals(36, $opt$Mul(-12, -3)); in mulInt()
89 expectEquals(33, $opt$Mul(1, 3) * 11); in mulInt()
90 expectEquals(671088645, $opt$Mul(134217729, 5)); // (2^27 + 1) * 5 in mulInt()
94 expectEquals(15L, $opt$Mul(5L, 3L)); in mulLong()
95 expectEquals(0L, $opt$Mul(0L, 0L)); in mulLong()
96 expectEquals(0L, $opt$Mul(0L, 3L)); in mulLong()
97 expectEquals(0L, $opt$Mul(3L, 0L)); in mulLong()
98 expectEquals(-3L, $opt$Mul(1L, -3L)); in mulLong()
99 expectEquals(36L, $opt$Mul(-12L, -3L)); in mulLong()
100 expectEquals(33L, $opt$Mul(1L, 3L) * 11L); in mulLong()
101 expectEquals(240518168583L, $opt$Mul(34359738369L, 7L)); // (2^35 + 1) * 7 in mulLong()
105 expectApproxEquals(15F, $opt$Mul(5F, 3F), 0.0001F); in mulFloat()
106 expectApproxEquals(0F, $opt$Mul(0F, 0F), 0.0001F); in mulFloat()
107 expectApproxEquals(0F, $opt$Mul(0F, 3F), 0.0001F); in mulFloat()
108 expectApproxEquals(0F, $opt$Mul(3F, 0F), 0.0001F); in mulFloat()
109 expectApproxEquals(-3F, $opt$Mul(1F, -3F), 0.0001F); in mulFloat()
110 expectApproxEquals(36F, $opt$Mul(-12F, -3F), 0.0001F); in mulFloat()
111 expectApproxEquals(33F, $opt$Mul(1F, 3F) * 11F, 0.0001F); in mulFloat()
115 expectNaN($opt$Mul(0F, Float.POSITIVE_INFINITY)); in mulFloat()
116 expectNaN($opt$Mul(0F, Float.NEGATIVE_INFINITY)); in mulFloat()
117 expectNaN($opt$Mul(Float.NaN, 11F)); in mulFloat()
118 expectNaN($opt$Mul(Float.NaN, -11F)); in mulFloat()
119 expectNaN($opt$Mul(Float.NaN, Float.NEGATIVE_INFINITY)); in mulFloat()
120 expectNaN($opt$Mul(Float.NaN, Float.POSITIVE_INFINITY)); in mulFloat()
122 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(2F, 3.40282346638528860e+38F)); in mulFloat()
123 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(2F, Float.POSITIVE_INFINITY)); in mulFloat()
124 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(-2F, Float.POSITIVE_INFINITY)); in mulFloat()
125 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(-2F, 3.40282346638528860e+38F)); in mulFloat()
126 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(2F, Float.NEGATIVE_INFINITY)); in mulFloat()
127 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(-2F, Float.NEGATIVE_INFINITY)); in mulFloat()
129 $opt$Mul(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY)); in mulFloat()
131 $opt$Mul(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY)); in mulFloat()
133 $opt$Mul(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY)); in mulFloat()
137 expectApproxEquals(15D, $opt$Mul(5D, 3D), 0.0001D); in mulDouble()
138 expectApproxEquals(0D, $opt$Mul(0D, 0D), 0.0001D); in mulDouble()
139 expectApproxEquals(0D, $opt$Mul(0D, 3D), 0.0001D); in mulDouble()
140 expectApproxEquals(0D, $opt$Mul(3D, 0D), 0.0001D); in mulDouble()
141 expectApproxEquals(-3D, $opt$Mul(1D, -3D), 0.0001D); in mulDouble()
142 expectApproxEquals(36D, $opt$Mul(-12D, -3D), 0.0001D); in mulDouble()
143 expectApproxEquals(33D, $opt$Mul(1D, 3D) * 11D, 0.0001D); in mulDouble()
147 expectNaN($opt$Mul(0D, Double.POSITIVE_INFINITY)); in mulDouble()
148 expectNaN($opt$Mul(0D, Double.NEGATIVE_INFINITY)); in mulDouble()
149 expectNaN($opt$Mul(Double.NaN, 11D)); in mulDouble()
150 expectNaN($opt$Mul(Double.NaN, -11D)); in mulDouble()
151 expectNaN($opt$Mul(Double.NaN, Double.NEGATIVE_INFINITY)); in mulDouble()
152 expectNaN($opt$Mul(Double.NaN, Double.POSITIVE_INFINITY)); in mulDouble()
154 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(2D, 1.79769313486231570e+308)); in mulDouble()
155 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(2D, Double.POSITIVE_INFINITY)); in mulDouble()
156 expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(-2D, Double.POSITIVE_INFINITY)); in mulDouble()
157 expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(-2D, 1.79769313486231570e+308)); in mulDouble()
158 expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(2D, Double.NEGATIVE_INFINITY)); in mulDouble()
159 expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(-2D, Double.NEGATIVE_INFINITY)); in mulDouble()
160 …expectEquals(Double.NEGATIVE_INFINITY, $opt$Mul(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY… in mulDouble()
161 …expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY… in mulDouble()
162 …expectEquals(Double.POSITIVE_INFINITY, $opt$Mul(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY… in mulDouble()
165 static int $opt$Mul(int a, int b) { in $opt$Mul()
169 static long $opt$Mul(long a, long b) { in $opt$Mul()
173 static float $opt$Mul(float a, float b) { in $opt$Mul()
177 static double $opt$Mul(double a, double b) { in $opt$Mul()