mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
More deprecations in lib6, and updates to lib7
This commit is contained in:
@@ -15,7 +15,7 @@ fn DString bin(int x)
|
||||
{
|
||||
int bits = x == 0 ? 1 : 1 + (int)math::log2(x);
|
||||
DString str;
|
||||
str.new_init();
|
||||
str.init(mem);
|
||||
str.append_repeat('0', bits);
|
||||
for (int i = 0; i < bits; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user