From: dvdeug@my-deja.com
To: dstarner98@aasaa.ofe.org
Subject: Math Questions
Date: 1999/06/01
Date: 1999-06-01T00:00:00+00:00 [thread overview]
Message-ID: <7ivc7m$q75$1@nnrp1.deja.com> (raw)
I'm working on a number library for Ada, and I came across some
problems?
(1)Is there any way of dealing with infinity in real numbers in Ada
(like IEEE's +INF)? In my bound float unit, it would be much nicer to
store it as between 1 and infinity than just throw a Constraint Error.
(2)I'd like to create a IEEE745 type, but then you couldn't use it as
the base type for the bound float unit. Is there any way to make a type
look like a number to generics?
(3)Alternately, is there any way to make a generic package accept both
standard floats and any number-like types I create?
--
David Starner - dstarner98@aasaa.ofe.org
--
David Starner - dvdeug@my-dejanews.com, dstarner98@aasaa.ofe.org,
dvdeug@hotmail.com
GURPS: http://w
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
next reply other threads:[~1999-06-01 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-01 0:00 dvdeug [this message]
1999-06-02 0:00 ` Math Questions Robert Dewar
1999-06-03 0:00 ` Samuel T. Harris
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox