comp.lang.ada
 help / color / mirror / Atom feed
From: emery@gypsy.UUCP
Subject: Re: Getting the integer part of a real
Date: Fri, 7-Nov-86 10:31:00 EST	[thread overview]
Date: Fri Nov  7 10:31:00 1986
Message-ID: <38000035@gypsy.UUCP> (raw)
In-Reply-To: 38000034@gypsy.UUCP



oops, made a type mismatch mistake in the last note:

comparison should be:

	if (real(i) > x) then
	    i := i - 1;		-- machine rounded up

There is no operation ">" (L : integer, R : real)....

Sorry about that, chief...

			Dave Emery
			Mitre Corp.
			emery@mitre-bedford.arpa

	    

  parent reply	other threads:[~1986-11-07 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1986-11-05 14:25 Getting the integer part of a real emery
1986-11-07 13:47 ` Robert Firth
1986-11-07 14:27 ` Arny B. Engelson
1986-11-10 22:12   ` David desJardins
1986-11-07 15:31 ` emery [this message]
  -- strict thread matches above, loose matches on Subject: below --
1986-11-12 13:34 Hazel
replies disabled

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