File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 197
197
@test @inferred (promote (UFixed {UInt8,7} (0.197 ), UFixed {UInt8,4} (0.8 ))) ===
198
198
(UFixed {UInt16,7} (0.197 ), UFixed {UInt16,7} (0.8 ))
199
199
200
+ @test UFixed {UInt16,16} (1 ) == UFixed {UInt8,8} (1 )
201
+ @test UFixed {UInt16,16} (0.2 ) == UFixed {UInt8,8} (0.2 )
202
+ @test UFixed {UInt16,8} (1 ) == UFixed {UInt8,8} (1 )
203
+ @test UFixed {UInt16,8} (0.2 ) == UFixed {UInt8,8} (0.2 )
204
+ @test UFixed {UInt16,16} (1 ) == UFixed {UInt8,6} (1 )
205
+ @test UFixed {UInt16,16} (0.20635 ) == UFixed {UInt8,6} (0.20635 )
206
+ @test UFixed {UInt16,4} (1 ) == UFixed {UInt8,6} (1 )
207
+ @test UFixed {UInt16,4} (0.2 ) == UFixed {UInt8,6} (0.2 )
208
+
200
209
@test promote_type (UFixed8,Float32,Int) == Float32
201
210
@test promote_type (UFixed8,Int,Float32) == Float32
202
211
@test promote_type (Int,UFixed8,Float32) == Float32
You can’t perform that action at this time.
0 commit comments