Possible Bug in INT_STRLEN_MAXIMUM macro
Aug. 21, 1998
4:16 p.m.
The INT_STRLEN_MAXIMUM macro in lib/private.h used by, among other files, asctime.c, states in its comment field: /* ** 302 / 1000 is log10(2.0) rounded up. ... */ And then in the macro definition we find: #define INT_STRLEN_MAXIMUM(type) \ ... * 302 / 100 ... Me thinks this is not what was intended. Possibly it's an error, possibly it's the right thing. Could you send mail back telling me if this was on purpose? -- Randy Thelen Software Engineer Network Appliance, Inc.
10163
Age (days ago)
10163
Last active (days ago)
0 comments
1 participants
participants (1)
-
Randy Thelen