programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: : 80 to 64-bit FP conversion

From: Dennis Ruffer <druffer_at_forth.com>
Date: Thu, 28 Jan 1999 11:01:39 -0800

Terry,

This is where you need to use the FROUND options in the FpMath-Config dialog
box. If you do a FROUND on a calculated 80-bit number, you end up with the
same value as if you stored it into a DFVARIABLE (aka FVARIABLE) and fetched
it back again. At least that is how it's supposed to work. ;)

DaR

> -----Original Message-----
> From: talk_at_forth.com [mailto:talk_at_forth.com]
> Sent: Thursday, January 28, 1999 10:13 AM
> To: Members of SF Talk
> Subject: SFTALK: 80 to 64-bit FP conversion
>
>
> Original sender: "Yomi" <yomi_at_roadrunner.com>
> Is there a way to convert 80-bit FP numbers to 64-bit FP numbers directly
> on the FP hardware stack?
>
> I've been ordering FP numbers, and have been caught by precision
> differences when comparing 80-bit calculated FP numbers to 64-bit
> stored FP
> numbers. My conversion fix is to store, then fetch, but it seems like
> there should be a more direct way to do it.
>
> Terry Johnson
> yomi_at_roadrunner.com
>
>

.
Received on Thu Jan 28 1999 - 11:01:39 PST

This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 03:04:27 PST