Exact arithmetic with quadratic irrationals

Stanislav Blinov via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 19 12:54:02 PDT 2017


Awesome! Congrats and thanks for sharing.

On Wednesday, 19 April 2017 at 19:32:14 UTC, H. S. Teoh wrote:

> Haha, it seems that the only roadblocks were related to the 
> implementation quality of std.numeric.gcd... nothing that a few 
> relatively-simple PRs couldn't fix.  So overall, D is still 
> awesome.

There's another one, which is more about dmd: dmd does not inline 
gcd, which, when arguments are const, turns gcd into a double 
function call :D



More information about the Digitalmars-d mailing list