[Info-vax] New VSI Roadmap (yipee!)
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Sun Mar 1 10:06:21 EST 2015
On 2015-03-01 04:33:55 +0000, John Reagan said:
> On Friday, February 27, 2015 at 6:37:14 PM UTC-5, David Froble wrote:
>
>> Something like:
>>
>> Z = FRound( Z , 2% )
>>
>> I'm not sure what this would mean for anything other than D-Float ..
>>
>> How would you handle that, rounding for all the available floating point
>> types? Different function names for each?
>
> Rounding floating point to certain number of decimal places? That
> doesn't make sense. Floating numbers are exact. 1.23 isn't really
> 1.23 but something close to it. I don't know what a float-to-float
> rounding does?
Z = 1.2345678
Z = FRound( Z, 2%)
Z = 1.23
Z = 1.2378
Z = FRound( Z, 2%)
Z = 1.24
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list