Lines Matching refs:opt

81     expectEquals(2, $opt$Sub(5, 3));  in subInt()
82 expectEquals(0, $opt$Sub(0, 0)); in subInt()
83 expectEquals(-3, $opt$Sub(0, 3)); in subInt()
84 expectEquals(3, $opt$Sub(3, 0)); in subInt()
85 expectEquals(4, $opt$Sub(1, -3)); in subInt()
86 expectEquals(-9, $opt$Sub(-12, -3)); in subInt()
87 expectEquals(134217724, $opt$Sub(134217729, 5)); // (2^27 + 1) - 5 in subInt()
91 expectEquals(2L, $opt$Sub(5L, 3L)); in subLong()
92 expectEquals(0L, $opt$Sub(0L, 0L)); in subLong()
93 expectEquals(-3L, $opt$Sub(0L, 3L)); in subLong()
94 expectEquals(3L, $opt$Sub(3L, 0L)); in subLong()
95 expectEquals(4L, $opt$Sub(1L, -3L)); in subLong()
96 expectEquals(-9L, $opt$Sub(-12L, -3L)); in subLong()
97 expectEquals(134217724L, $opt$Sub(134217729L, 5L)); // (2^27 + 1) - 5 in subLong()
98 expectEquals(34359738362L, $opt$Sub(34359738369L, 7L)); // (2^35 + 1) - 7 in subLong()
102 expectApproxEquals(2F, $opt$Sub(5F, 3F)); in subFloat()
103 expectApproxEquals(0F, $opt$Sub(0F, 0F)); in subFloat()
104 expectApproxEquals(-3F, $opt$Sub(0F, 3F)); in subFloat()
105 expectApproxEquals(3F, $opt$Sub(3F, 0F)); in subFloat()
106 expectApproxEquals(4F, $opt$Sub(1F, -3F)); in subFloat()
107 expectApproxEquals(-9F, $opt$Sub(-12F, -3F)); in subFloat()
108 expectApproxEquals(34359738362F, $opt$Sub(34359738369F, 7F)); // (2^35 + 1) - 7 in subFloat()
109 expectApproxEquals(-0.1F, $opt$Sub(0.1F, 0.2F)); in subFloat()
110 expectApproxEquals(0.2F, $opt$Sub(-0.5F, -0.7F)); in subFloat()
112 expectNaN($opt$Sub(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY)); in subFloat()
113 expectNaN($opt$Sub(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY)); in subFloat()
114 expectNaN($opt$Sub(Float.NaN, 11F)); in subFloat()
115 expectNaN($opt$Sub(Float.NaN, -11F)); in subFloat()
116 expectNaN($opt$Sub(Float.NaN, Float.NEGATIVE_INFINITY)); in subFloat()
117 expectNaN($opt$Sub(Float.NaN, Float.POSITIVE_INFINITY)); in subFloat()
119 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(-Float.MAX_VALUE, Float.MAX_VALUE)); in subFloat()
120 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(2F, Float.POSITIVE_INFINITY)); in subFloat()
121 expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(Float.MAX_VALUE, -Float.MAX_VALUE)); in subFloat()
122 expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(2F, Float.NEGATIVE_INFINITY)); in subFloat()
123 … expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY)); in subFloat()
124 … expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY)); in subFloat()
128 expectApproxEquals(2D, $opt$Sub(5D, 3D)); in subDouble()
129 expectApproxEquals(0D, $opt$Sub(0D, 0D)); in subDouble()
130 expectApproxEquals(-3D, $opt$Sub(0D, 3D)); in subDouble()
131 expectApproxEquals(3D, $opt$Sub(3D, 0D)); in subDouble()
132 expectApproxEquals(4D, $opt$Sub(1D, -3D)); in subDouble()
133 expectApproxEquals(-9D, $opt$Sub(-12D, -3D)); in subDouble()
134 expectApproxEquals(134217724D, $opt$Sub(134217729D, 5D)); // (2^27 + 1) - 5 in subDouble()
135 expectApproxEquals(34359738362D, $opt$Sub(34359738369D, 7D)); // (2^35 + 1) - 7 in subDouble()
136 expectApproxEquals(-0.1D, $opt$Sub(0.1D, 0.2D)); in subDouble()
137 expectApproxEquals(0.2D, $opt$Sub(-0.5D, -0.7D)); in subDouble()
139 expectNaN($opt$Sub(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY)); in subDouble()
140 expectNaN($opt$Sub(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY)); in subDouble()
141 expectNaN($opt$Sub(Double.NaN, 11D)); in subDouble()
142 expectNaN($opt$Sub(Double.NaN, -11D)); in subDouble()
143 expectNaN($opt$Sub(Double.NaN, Double.NEGATIVE_INFINITY)); in subDouble()
144 expectNaN($opt$Sub(Double.NaN, Double.POSITIVE_INFINITY)); in subDouble()
146 expectEquals(Double.NEGATIVE_INFINITY, $opt$Sub(-Double.MAX_VALUE, Double.MAX_VALUE)); in subDouble()
147 expectEquals(Double.NEGATIVE_INFINITY, $opt$Sub(2D, Double.POSITIVE_INFINITY)); in subDouble()
148 expectEquals(Double.POSITIVE_INFINITY, $opt$Sub(Double.MAX_VALUE, -Double.MAX_VALUE)); in subDouble()
149 expectEquals(Double.POSITIVE_INFINITY, $opt$Sub(2D, Double.NEGATIVE_INFINITY)); in subDouble()
150 …expectEquals(Double.POSITIVE_INFINITY, $opt$Sub(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY… in subDouble()
151 …expectEquals(Double.NEGATIVE_INFINITY, $opt$Sub(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY… in subDouble()
154 static int $opt$Sub(int a, int b) { in $opt$Sub()
158 static long $opt$Sub(long a, long b) { in $opt$Sub()
162 static float $opt$Sub(float a, float b) { in $opt$Sub()
166 static double $opt$Sub(double a, double b) { in $opt$Sub()