[Oberon] Question about SYSTEM.BIT() in Oberon-7

Chris Burrows cfbsoftware at gmail.com
Sat Jun 5 02:36:08 CEST 2021


On Sat, Jun 5, 2021 at 8:39 AM R. S. Doiel <rsdoiel at gmail.com> wrote:
>
> That's cool. So what I was thinking of doing is to read the address contents of my REAL variable into an INTEGER then use SYSTEM.BIT() to report out the sign, the exponent and the fraction.  Reading Reals.IntL gave that idea.
>

Note that Oberon-07 has predefined procedures PACK and UNPK which
provide convenient access to the exponent and mantissa of a REAL

Chris Burrows
CFB Software
https://www.astrobe.com/RISC5


More information about the Oberon mailing list