how do i ininitialize a float to it's max/min value?
- by Faken
How do i hard code an absolute maximum or minimum value for a float or double? I want to search out the max/min of an array by simply iterating through and catching the largest.
There are also positive and negative infinity for floats, should i use those instead? if so, how do i denote that in my code?