comp.lang.ada
 help / color / mirror / Atom feed
* trunc
@ 1999-03-18  0:00 phadreus
  1999-03-18  0:00 ` trunc Matthew Heaney
  1999-03-19  0:00 ` trunc Michael F Brenner
  0 siblings, 2 replies; 8+ messages in thread
From: phadreus @ 1999-03-18  0:00 UTC (permalink / raw)




what's the most efficient way within Ada
to obtain the whole-number portion Y of
a floating-point number X?

for example,

X = 5.5  Y = 5.0

X = 2.9  Y = 2.0

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




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

end of thread, other threads:[~1999-03-22  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-18  0:00 trunc phadreus
1999-03-18  0:00 ` trunc Matthew Heaney
1999-03-18  0:00   ` trunc Tucker Taft
1999-03-19  0:00     ` trunc Michael Stark
1999-03-18  0:00   ` trunc Nick Roberts
1999-03-19  0:00 ` trunc Michael F Brenner
1999-03-19  0:00   ` trunc Markus Kuhn
1999-03-22  0:00   ` trunc Howard W. LUDWIG

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