Function fcvt incorrect. example: int dec, sign; printf("%s\n", fcvt(1.12, 2, &dec, &sign)); result: 1.12e+00 but need: 112
"flyker" == flyker <flyker(a)everys.com> writes:
flyker> Function fcvt incorrect. example: int dec, sign; printf("%s\n", flyker> fcvt(1.12, 2, &dec, &sign)); flyker> result: 1.12e+00 flyker> but need: 112 In what way does that behaviour hurt you(r application)? Bye -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Uwe Bonnes wrote:
"flyker" == flyker <flyker(a)everys.com> writes:
flyker> Function fcvt incorrect. example: int dec, sign; printf("%s\n", flyker> fcvt(1.12, 2, &dec, &sign));
flyker> result: 1.12e+00
flyker> but need: 112
In what way does that behaviour hurt you(r application)?
Bye
Link with -lmsvcrt option
participants (2)
-
flyker -
Uwe Bonnes