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

Enjoys Math via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 18 21:07:34 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.

I see: http://dlang.org/phobos/std_algorithm_comparison.html#max


More information about the Digitalmars-d-learn mailing list