Project

General

Profile

Bug #641

libast fmtnum uses 'unsigned long' and only goes up to giga

Added by Jason King almost 10 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
2011-01-17
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

Subject says it all, should probably use uint64_t so it can always deal with large quantities (since it would likely be used with things like file sizes).

It should probably support larger prefixes beyond giga.

#1

Updated by Jason King almost 10 years ago

If it could support powers of 1000 as well as 1024, that would be really nice too :)

Also available in: Atom PDF