comp.lang.ada
 help / color / mirror / Atom feed
* Help - need trunc function
@ 1993-03-18  5:54 Edward R. Goforth
  0 siblings, 0 replies; only message in thread
From: Edward R. Goforth @ 1993-03-18  5:54 UTC (permalink / raw)


Help.  I'm converting FORTRAN programs (which of course
used mixed-mode operations) and I need a "trunc" function
which will return the integer portion of the argument.
I need to trunc floats to long_integers.  A simple
long_integer(FLOAT_VAR) rounds instead of just returning
the integer portion.  This function needs to work for
positive, negative and 0 arguments.

Please respond via e-mail to "egoforth@cs.wm.edu".

Thank you all.

Ed...

Edward R. Goforth - egoforth@cs.wm.edu
Department of Computer Science
The College of William and Mary
Williamsburg, Virginia




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-03-18  5:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-03-18  5:54 Help - need trunc function Edward R. Goforth

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