comp.lang.ada
 help / color / mirror / Atom feed
* Fixed-point
@ 1997-03-28  0:00 Jeff Carter
  1997-03-28  0:00 ` Fixed-point Tom Moran
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jeff Carter @ 1997-03-28  0:00 UTC (permalink / raw)



Jack Crenshaw's "Programmer's Toolbox" column in *Embedded Systems
Programming* has been discussing implementing multiple precision
integers and fixed-point types in C++ for some time. I was wondering
when he'd address why you'd go to the effort, rather than use a language
with fixed-point type support. In the 1997 Apr issue, he does:

"The designers of Ada ... tried to get too fancy. Instead of restricting
the type to words commensurate with the natural word length of the
computer, they gave us a more general definition that allows for words
of any bit length and any resolution. ... [T]he end result was the same:
fixed-point operations are so slow in Ada that few people bother to use
the type, and many Ada shops prohibit their use as a matter programming
style."

Has anyone encountered this phenomenon? In my experience, with modern
compilers, fixed-point operations are not too slow, especially when
using a binary delta. However, I don't have sufficient amunition to
refute this. Perhaps one (or several) of the more knowlegeable out there
would like to take this on.

The editor-in-chief, Lindsey Vereen, is lvereen@mfi.com. Their web site
is www.embedded.com.
-- 
Jeff Carter
Innovative Concepts, Inc.

Now go away, or I shall taunt you a second time.

Unsolicited commercial e-mail will be invoiced at US $500 per piece.




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

end of thread, other threads:[~1997-04-11  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-28  0:00 Fixed-point Jeff Carter
1997-03-28  0:00 ` Fixed-point Tom Moran
1997-03-28  0:00 ` Fixed-point Robert Dewar
1997-03-29  0:00   ` Fixed-point the one and only real true kibo
1997-03-29  0:00 ` Fixed-point Robert A Duff
1997-03-30  0:00   ` Fixed-point Larry Kilgallen
1997-04-11  0:00     ` Fixed-point Ken Garlington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox