diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-12 01:13:52 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-12 17:44:27 -0400 |
commit | fc3126378e0c13b03b3c5dd886bebb2014878717 (patch) | |
tree | 14465f06a7229beed78381073dadd4441c8c8538 /examples/vga-leaf.cpp | |
parent | cdd7bb7a13442160fea29e10ddc61402f56f4bd1 (diff) | |
download | librambutan-fc3126378e0c13b03b3c5dd886bebb2014878717.tar.gz librambutan-fc3126378e0c13b03b3c5dd886bebb2014878717.zip |
Compromise Print implementation.
The users really hated the code size requirements for an snprintf()-based
Print implementation, but I really hated how bad the old implementation was.
Revised version fixes bugs related to printing 64-bit values and has some
improved behavior when it comes to printing doubles. Now, instead of
happily printing garbage values when large doubles are printed, we try
printing "<large double>" or "-<large double>" (depending on sign) when
the argument is too big for the old strategy to accommodate.
Diffstat (limited to 'examples/vga-leaf.cpp')
0 files changed, 0 insertions, 0 deletions