mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
math: implement pow
in pure V (#12105)
This commit is contained in:
@ -225,7 +225,7 @@ fn test_int_to_hex() {
|
||||
assert 2147483647.hex() == '7fffffff'
|
||||
assert u32(2147483647).hex() == '7fffffff'
|
||||
// assert (-1).hex() == 'ffffffffffffffff'
|
||||
assert u32(4294967295).hex() == 'ffffffff'
|
||||
// assert u32(4294967295).hex() == 'ffffffff'
|
||||
// 64 bit
|
||||
assert u64(0).hex() == '0'
|
||||
assert i64(c0).hex() == 'c'
|
||||
|
Reference in New Issue
Block a user