Russ Cox
0cadb4301d
convert to 4-byte UTF-8 and 32-bit Rune
...
http://codereview.appspot.com/116075
2009-09-11 17:03:06 -04:00
Russ Cox
d19fdc056d
libfmt: add missing copyright notice to nan64.c
...
nan64.c was part of change #1 in this repository and
did not have a notice at that point (September 2003).
An earlier copy of libfmt, dated January 14-15, 2003,
makes it clear that nan64.c was extracted from fltfmt.c
and strtod.c, so use the same notice they use.
2009-08-14 23:25:10 -07:00
Russ Cox
d17b040302
libfmt: use fmtstrtod, not system strtod
...
http://codereview.appspot.com/96185
2009-07-29 11:29:36 -04:00
Russ Cox
5400bd239c
lib9/fmt: fix printing of 1e308
...
pow10 was giving up too easily
http://codereview.appspot.com/96178
2009-07-28 16:43:23 -04:00
Russ Cox
c6d1c6c617
lib9: fix memset in fmtnullinit
2008-11-17 19:45:37 -08:00
Russ Cox
66f6e2b651
lib9: hide uvlong/double conversions to placate gcc (John Gosset)
2008-05-10 13:35:54 -04:00
Russ Cox
34167aa6b0
lib9: gcc-4.2 bug in sprint
2008-03-03 23:37:12 -05:00
rsc
35920e96a1
fix nan64
2007-05-10 04:18:22 +00:00
rsc
ada7ea055b
another day, another __isNaN
2007-04-06 13:27:55 +00:00
rsc
fdfecd6860
new __isNaN (Scott Schwartz)
2007-04-06 01:49:05 +00:00
rsc
56b2179d99
long double
2006-06-26 00:07:54 +00:00
rsc
66cf8a3904
long double
2006-06-26 00:05:10 +00:00
rsc
7bd73c7fd4
silence warning
2006-06-25 23:52:32 +00:00
rsc
403fb41e23
silence warning
2006-05-28 05:53:05 +00:00
rsc
d4f27433da
silence warning
2006-05-26 05:43:43 +00:00
rsc
ab239cb5ba
oops
2006-05-26 00:53:07 +00:00
rsc
e17e1a71c2
incorporate changes from Google
2006-05-22 14:54:34 +00:00
rsc
f8955f181e
new, commented fltfmt
2006-05-22 14:53:35 +00:00
rsc
85231fd8cd
fmt changes from Google
2006-05-21 20:49:16 +00:00
rsc
cbeb0b26e4
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
2006-04-01 19:24:03 +00:00
rsc
749481f200
use inttypes
2006-01-06 18:15:40 +00:00
rsc
0dbd8726fe
add stdint.h, uintptr
2005-12-29 21:45:40 +00:00
rsc
3d484b0d1a
set qid.vers (Erik Quanstrom)
2005-12-29 21:41:54 +00:00
wkj
14367520a2
Properly size buffer to avoid overflow.
2005-11-01 15:27:28 +00:00
rsc
78e51a8c66
checkpoint
2005-01-14 03:45:44 +00:00
rsc
133c240533
these mkfiles only confuse
2005-01-13 04:58:16 +00:00
rsc
c345061e8d
sunos fixes
2005-01-07 07:47:37 +00:00
rsc
4fe01a2b11
change _p9pow10 to fmtpow10
2004-12-31 05:37:15 +00:00
wkj
c90dd38f54
Formatting nits.
2004-12-29 01:27:57 +00:00
wkj
4645c5d7d3
#define pow10 to _p9pow10 as a stop-gap.
2004-12-29 01:27:23 +00:00
rsc
eb7f99c552
fmtdef.h needed for VA_COPY
2004-12-27 00:11:32 +00:00
rsc
cdccf023aa
add isNaN
2004-12-27 00:11:13 +00:00
rsc
5cd259167b
portdates
2004-12-26 23:08:53 +00:00
rsc
ae1c9bc4ab
more tests
2004-12-26 23:07:49 +00:00
rsc
df121a0027
import changes from plan 9
2004-12-26 23:07:37 +00:00
rsc
a76c0fd4a9
pick up plan 9 fltfmt changes
2004-12-26 22:36:52 +00:00
rsc
3f1a219769
various little changes.
...
also pick up latest fltfmt from plan 9
2004-12-26 22:36:12 +00:00
rsc
b2ff538258
add for unix port
2004-12-26 21:50:39 +00:00
rsc
e5aa96acbf
clean up for unix port
2004-12-26 21:50:14 +00:00
rsc
298f6bd657
print 0 %ux as 0x0
2004-10-22 17:13:54 +00:00
rsc
8537259f82
Fix bug in rune half of __fmtcpy reported by rob.
2004-09-28 16:23:32 +00:00
rsc
040d1d02f5
Get rid of 64-bit constants.
2004-09-23 03:05:40 +00:00
rsc
b4c842f139
small tweaks
2004-09-17 22:08:43 +00:00
rsc
984e353160
PowerPC Linux support from ericvh.
...
Mainly adding va_copy/va_end.
Also fix bug in sprint wrapping
around top of memory.
2004-08-22 15:39:56 +00:00
rsc
d1b4cfde55
use plan9 malloc
2004-06-09 14:12:04 +00:00
rsc
1b135a7805
clean up when finished.
...
don't set PLAN9
don't set PLAN9
2004-04-19 23:04:36 +00:00
rsc
91c13e54b5
Move utf, fmt. Small header file changes.
2004-02-29 22:11:15 +00:00