comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Question about best practices with numerical functions
Date: Sat, 4 Jul 2020 09:50:57 +0200	[thread overview]
Message-ID: <rdpcd1$1o2l$1@gioia.aioe.org> (raw)
In-Reply-To: fa2c6030-8bed-44c6-b5ed-0e24495a5085o@googlegroups.com

On 04/07/2020 07:30, mockturtle wrote:

> I have a question about the best way to manage a potential loss of precision in a numerical function.  This is a doubt that came to my mind while writing a piece of software; now I solved the specific problem, but the curiosity remains.

[...]

>     [5] ???
> 
> Any suggestions?

[5] Interval computations is the best way to handle rounding errors:

    https://en.wikipedia.org/wiki/Interval_arithmetic

An Ada implementation is here:

    http://www.dmitry-kazakov.de/ada/intervals.htm

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2020-07-04  7:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04  5:30 Question about best practices with numerical functions mockturtle
2020-07-04  7:50 ` Dmitry A. Kazakov [this message]
2020-07-04 10:45 ` Nasser M. Abbasi
2020-07-06 17:02 ` Shark8
2020-07-06 22:23   ` Dmitry A. Kazakov
2020-07-07  4:52     ` mockturtle
replies disabled

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