iota and BigInt

Russel Winder via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 22 23:29:30 PST 2015


On Thu, 2015-01-22 at 10:21 -0800, H. S. Teoh via Digitalmars-d-learn
wrote:
[…]
> 
> https://github.com/D-Programming-Language/phobos/pull/2895
> 
> This is just the tip of the iceberg. The full enhancement is described
> in:
> 
> 	https://issues.dlang.org/show_bug.cgi?id=10762
> 

Sadly, I suspect it will be a long time before this is usable by folk in
the field :-(

It's a pity there is not better support for arbitrary size integers and
floating point in D. Hardware integers are too limited and hardware
floating point far too inaccurate for an awful lot of computing out
there (*). Groovy is getting a lot of traction exactly because the
default floating point is BigDecimal and not IEEE754.


(*) I know games requires speed above all else, as does a lot of the
sort of calculations I have done in the past, but these calculations
generally need very few significant digits of accuracy. We won't mention
the calculation that are just wrong because insufficient attention to
error management occurs.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150123/2ce8f6c1/attachment.sig>


More information about the Digitalmars-d-learn mailing list