aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish_shift.cpp
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-04-12 01:13:52 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-04-12 17:44:27 -0400
commitfc3126378e0c13b03b3c5dd886bebb2014878717 (patch)
tree14465f06a7229beed78381073dadd4441c8c8538 /wirish/wirish_shift.cpp
parentcdd7bb7a13442160fea29e10ddc61402f56f4bd1 (diff)
downloadlibrambutan-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 'wirish/wirish_shift.cpp')
0 files changed, 0 insertions, 0 deletions