cl: fix cl/_testrt/cast

This commit is contained in:
visualfc
2024-06-04 15:27:49 +08:00
parent c174568081
commit 281fbc2bee
2 changed files with 0 additions and 6 deletions

View File

@@ -34,10 +34,7 @@ func main() {
cvt32Fto32(0, 0)
cvt32Fto32(1.5, 1)
cvt32Fto32(1147483647.1, 1147483648)
cvt32Fto32(2147483647.1, -2147483648)
cvt32Fto32(4147483647.1, -2147483648)
cvt32Fto32(-2147483648.1, -2147483648)
cvt32Fto32(-2147482648.1, -2147482624)
// MaxUint32 = 1<<32 - 1 // 4294967295
cvt32Fto32U(0, 0)