PLEX86  x86- Virtual Machine (VM) Program
 CVS  |  Mailing List  |  Download  |  Newsgroups

PDP8 FloatingPoint


Your Ad Here

Your Ad Here

CBFalconer ... snip ...

Since an interest has been expressed, here are some quotations from the original source.

; ;-------------------------------- ; Floating point arithmetic system for YALE 8080-based ; computers -- by Charles B. FALCONER, April 1976 ; ; Real representation can express values in the absolute value ; range 0.29388 * 10^-38 through 1.7018 * 10^+38, and zero, ; together with sign, with approximately 4.8 decimal digit ; accuracy. The resolution of a value between 1 and 2 is ; approximately 0.00003. The system is designed to maximize ; register (as opposed to memory) use during computation. ; ; A real (floating point) value is represented by a unipolar ; Thus, the high order bit of the mantissa is always a "one", ; and is replaced by a sign bit in internal representation. ; A "one" sign bit represents negative values. ; ; Lowest address: exponent ; Next address: least significant byte of mantissa ; Highest address: most significant byte of mantissa ; ; Real operands can appear in either of two 8080 internal ; register configurations. The normal position (considered ; the real accumulator) is the DE.H register, in which the ; D and E registers hold the mantissa (sign bit in D), and ; the H register holds the exponent. A second operand may ; be held in the BC.L register, where the B and C registers ; hold the mantissa, and the L register holds the exponent.

Significance Arithmetic and Unnormalization 717
On 22 May 2005 18:18:44 -0700, I wrote, in part: And here is something else...

What was omitted above was that a zero value in the exponent always represented a floating zero, regardless of any stray bits in the mantissa (actually significand) portion. This simplified zero detection. All routines detected over and underflow, when they jammed the result to either max (of the appropriate sign) or zero and returned with carry set.

In addition the following format was used for i-o, and routines were provided to convert between the two formats. This format made it convenient to control rounding and field sizes.

Reviving... the Bline
On my web page, at I describe a minimalist 32-bit instruction format to allow a bank of 64 ALUs (64 integer ones and 64 floating-point ones, actually) to also serve as...

; ; "Fixed" point representation consist of a 16 bit positive ; integer (in the range 0 to 65535), and a 7 bit offset (by ; 40H) integer exponent, which represents a power of ten ; multiplier. The eighth exponent bit represents the sign ; of the mantissa. This representation is used for input; output only.

The system included a full set of trignometric, exponential, logarithmic and square root functions.

Significance Arithmetic and Unnormalization 718
John Savard) wrote, in part: Another item I forgot to note: In addition to the F...

-- Some useful references about C:



Your Ad Here

List | Previous | Next

Significance Arithmetic and Unnormalization 717

Alt Folklore Computers from Newsgroups

The #1 Usenet Provider on the Internet

PDP8 FloatingPoint