Re: Floating Point Rounding Mode
From: Duane Bozarth (dpbozarth_at_swko.dot.net)
Date: 01/26/05
- Next message: Jim Mack: "Re: The Point of Object Classes"
- Previous message: Jim Mack: "Re: Floating Point Rounding Mode"
- In reply to: Brian Stone: "Floating Point Rounding Mode"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 Jan 2005 11:39:54 -0600
Brian Stone wrote:
>
> Does anyone know which floating point processor rounding mode various
> versions of VB use (nearest, up, down, truncate) when dealing with single
> and double data types? I'm trying to replace some old code running on an HP
> 3000. Thanks.
I'm not sure and was unable in a quick search to find an answer...
I've used some HP machines (mostly 1000's) but not the 3000. What,
specifically, is the issue? Any machine on an Intel will use the 80-bit
coprocessor and then truncate/round the result back to storage
precision. That is unlikely to reproduce the HP hardware to the final
bit irrespective of rounding mode.
- Next message: Jim Mack: "Re: The Point of Object Classes"
- Previous message: Jim Mack: "Re: Floating Point Rounding Mode"
- In reply to: Brian Stone: "Floating Point Rounding Mode"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|