dimforge / alga

Abstract algebra for Rust.
194 stars 39 forks source link

How to get MAX and MIN of a Real #33

Closed orhanbalci closed 7 years ago

orhanbalci commented 7 years ago

Hi there. I could not find any place to ask for this. Please excuse me for the question. How can I get MIN or MAX of a Real?

WaDelma commented 7 years ago

Anything that is Real also implements Bounded which allows you to get the minimum and maximum value.

orhanbalci commented 7 years ago

Thanks for the answer