1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

math.big: rework function naming and documentation (#18890)

This commit is contained in:
phoebe
2023-07-20 01:33:07 +02:00
committed by GitHub
parent bd3501affa
commit a49b8f28b1
10 changed files with 178 additions and 116 deletions

View File

@@ -24,9 +24,9 @@ fn test_add_in_place() {
assert a == [u32(0x17ff72ad), 0x1439]
}
fn test_lshift_digits_in_place() {
fn test_left_shift_digits_in_place() {
mut a := [u32(5), 6, 7, 8]
lshift_digits_in_place(mut a, 2)
left_shift_digits_in_place(mut a, 2)
assert a == [u32(0), 0, 5, 6, 7, 8]
}