public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] vfnprintf and floating point.
@ 1999-09-29  5:30 Sergei Organov
  1999-10-05  7:51 ` Jonathan Larmour
  0 siblings, 1 reply; 7+ messages in thread
From: Sergei Organov @ 1999-09-29  5:30 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I just tried to separate floating point code from 'vfnprintf'
routine. It was surprisingly easy to do, but I remember that it didn't 
seem so easy for similar code found in 'newlib'. The code found in
eCos libc is much better organized, but it seems that "Inf" and "NaN"
processing was removed from the code entirely. What's the reason?

If you interested, I just changed first argument of 'cvt' from
'double' to 'va_list*', and moved double argument extraction to this
routine. I also provided 'void skip_double(va_list*)' that is used to
skip double argument when floating point support is disabled in
'vfnprintf'.

Sergei.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-10-06  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-29  5:30 [ECOS] vfnprintf and floating point Sergei Organov
1999-10-05  7:51 ` Jonathan Larmour
1999-10-06  4:34   ` Sergei Organov
1999-10-06  4:44     ` [ECOS] " Bart Veer
1999-10-06  6:04       ` Sergei Organov
1999-10-06  7:27         ` Bart Veer
1999-10-06  7:49           ` Sergei Organov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).