What are min / max value of floats and doubles?

macos, objective-c

Solution

You can use FLT_MIN, FLT_MAX:

NSLog(@"MIN=%f;MAX=%f", FLT_MIN, FLT_MAX);

Output:
MIN=0.000000;MAX=340282346638528859811704183484516925440.000000

Problem

I already googled and checked limits.h with no results. I'm hoping there are constants I can refer to hiding somewhere.

Original source