comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: A curiosity about decimal fixed point types...
Date: Mon, 11 Nov 2013 11:58:04 -0800 (PST)
Date: 2013-11-11T11:58:04-08:00	[thread overview]
Message-ID: <b6ef47de-2144-4220-8ef1-62ff1f0d0665@googlegroups.com> (raw)
In-Reply-To: <7d4f2e0c-0aed-4ba3-aa5a-0c2bc0c2c5a0@googlegroups.com>

Look at
http://en.wikibooks.org/wiki/Ada_Programming/Types/delta
for a description of the differences between ordinary and decimal fixed point arithmetics.

Decimal has precise rules like Cobol (needed for currency), whereas ordinary is less precise.

  parent reply	other threads:[~2013-11-11 19:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11 15:04 A curiosity about decimal fixed point types mockturtle
2013-11-11 17:06 ` Mike H
2013-11-11 18:54 ` Oliver Kleinke
2013-11-11 19:58 ` AdaMagica [this message]
2013-11-12 12:31 ` Jacob Sparre Andersen
2013-11-14 13:12   ` Marius Amado-Alves
2013-11-14 14:20     ` gautier_niouzes
replies disabled

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