big: Add sqrt.

This commit is contained in:
Jeroen van Rijn
2021-08-11 20:59:51 +02:00
parent 9c2468ecf7
commit 2aae1016ab
4 changed files with 77 additions and 37 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ int_itoa_string :: proc(a: ^Int, radix := i8(-1), zero_terminate := false, alloc
/*
Allocate the buffer we need.
*/
buffer := make([]u8, size);
buffer := make([]u8, size, allocator);
/*
Write the digits out into the buffer.