comp.lang.ada
 help / color / mirror / Atom feed
From: a98mican@ida.his.se
Subject: Decimal number of interger?
Date: Wed, 24 Oct 2001 17:46:44 GMT
Date: 2001-10-24T17:46:44+00:00	[thread overview]
Message-ID: <3BD70DE5.C2D2B6FD@ida.his.se> (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




             reply	other threads:[~2001-10-24 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-24 17:46 a98mican [this message]
2001-10-24 19:54 ` Decimal number of interger? tmoran
2001-10-24 23:35   ` Jeffrey Carter
2001-10-25  1:38 ` DuckE
2001-10-29 15:36 ` Tucker Taft
replies disabled

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