From: Jeff Carter <carter@innocon.com>
Subject: Fixed-point
Date: 1997/03/28
Date: 1997-03-28T00:00:00+00:00 [thread overview]
Message-ID: <333C08A7.446B9B3D@innocon.com> (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.
next reply other threads:[~1997-03-28 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-28 0:00 Jeff Carter [this message]
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-28 0:00 ` Fixed-point Tom Moran
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox