How do you get the min / max of two numbers a, b?

ponce via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 19 00:21:21 PDT 2015


On Saturday, 19 September 2015 at 03:53:12 UTC, Enjoys Math wrote:
> I know there's fmax for floats, but what about ints?
>
> Thanks.

http://p0nce.github.io/d-idioms/#Minimum-or-maximum-of-numbers


More information about the Digitalmars-d-learn mailing list