www.digitalmars.com         C & C++   DMDScript  

c++.rtl - printf bug for 64 bit integer output in binary - bitbash.c

It seems that if bit 48 or above is set then there's a problem with printf
producing binary, shown by the attached short program. If bit 56 or above is set
then the problem is more severe. Any chance of a fix? :)
Carl.


begin 0644 bitbash.c
M#0HC:6YC;'5D92`\<W1D:6\N:#X-" T*+RHM+2TM+2TM+2TM+2TM+2TM+3$R
M+S$V+S`U(#,Z,C9032TM+2TM+2TM+2TM+2TM+2TM+0T*("H <')I;G1F(&)U
M9R!F;W( -C0 8FET(&EN=&5G97)S('!R:6YT:6YG(&%S(&)I;F%R>2X-"B`J
M#0H *B`M+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM
M+2TM+2TM+2TM+2HO#0II;G0 ;6%I;BAI;G0 87)G8RP 8VAA<BH 87)G=EM=
M*7L-"B` ("!I;G0 :3L-"B` ("!U;G-I9VYE9"!L;VYG(&QO;F< 8CL-"B` 
M("!F;W(H(&D]-# [(&D\-38[("LK:2D >PT*("` ("` ("!B/2`Q54Q,(#P\
M(&D[#0H ("` ("` ('!R:6YT9B B)3`V-&QL8EQN)6QL=5QN(BP 8BP 8BD[
M#0H ("` ?0T*+RH-"B` ("!F;W(H(&D]-38[(&D\-C0[("LK:2D >PT*("` 
M("` ("!B/65X<#(H:2D[#0H ("` ("` ('!R:6YT9B B)3`V-&QL8EQN)6QL
K=5QN(BP 8BP 8BD[#0H ("` ?0T**B\-"B` ("!R971U<FX ,#L-"GT-"FQL
`
end
Dec 16 2005