comp.lang.ada
 help / color / mirror / Atom feed
* Decimal number of interger?
@ 2001-10-24 17:46 a98mican
  2001-10-24 19:54 ` tmoran
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: a98mican @ 2001-10-24 17:46 UTC (permalink / raw)


Hi!
How do I determine weather the result from a function has a decimal part
or not?
I want to use the log function to se weather the width of the terrain is
(2^x)+1. In order to do this I want to use the following:
log2(width-1) = "float without decimal part"


Thanks in advance!
/Michael Andersson




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

end of thread, other threads:[~2001-10-29 15:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-24 17:46 Decimal number of interger? a98mican
2001-10-24 19:54 ` tmoran
2001-10-24 23:35   ` Jeffrey Carter
2001-10-25  1:38 ` DuckE
2001-10-29 15:36 ` Tucker Taft

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