comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Fixed vs float and precision and conversions
Date: Thu, 9 Jul 2020 10:11:04 +0300	[thread overview]
Message-ID: <hmnu88Fs6ffU1@mid.individual.net> (raw)
In-Reply-To: <re5dj7$4fn$1@dont-email.me>

On 2020-07-09 0:24, Björn Lundin wrote:
> Den 2020-07-08 kl. 22:34, skrev Niklas Holsti:

>> But the values in the Global_Odds table are all given with two 
>> decimals, not three, so why not define Fixed_Type with delta 0.01, 
>> which avoids this possible Float precision problem, as well as being 
>> more apt?
> 
> Because I wanted to express 6.5% -> 0.065 in fixed_type as well.
> I think I mentioned that in a post.

Oh yes, I didn't remember that. Sorry.

-- 
Niklas Holsti
niklas holsti tidorum fi
       .      @       .

  reply	other threads:[~2020-07-09  7:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-07 21:10 Fixed vs float and precision and conversions Björn Lundin
2020-07-07 21:30 ` Niklas Holsti
2020-07-08  8:17   ` Björn Lundin
2020-07-07 21:58 ` Shark8
2020-07-08  8:15   ` Björn Lundin
2020-07-08 16:16     ` Shark8
2020-07-08 18:08       ` Björn Lundin
2020-07-08 18:10         ` Björn Lundin
2020-07-08 18:21           ` Niklas Holsti
2020-07-08 19:39             ` Björn Lundin
2020-07-08 20:34               ` Niklas Holsti
2020-07-08 21:24                 ` Björn Lundin
2020-07-09  7:11                   ` Niklas Holsti [this message]
2020-07-08 18:36           ` Dmitry A. Kazakov
2020-07-08 19:41             ` Björn Lundin
2020-07-09  6:20               ` Dmitry A. Kazakov
2020-07-09  7:23                 ` Björn Lundin
2020-07-09  7:49                   ` Dmitry A. Kazakov
2020-07-08 21:16         ` Shark8
2020-07-08 21:47           ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox