in reply to How to determine MIN and MAX values for floating point number

This probably isn't what you're looking for, but I'm curious as to when the following code would fail (i.e. for which architectures is I_FLOAT undefined).
#!/usr/bin/perl use Inline C; $max=f_max(); $min=f_min(); print "max: $max\nmin: $min\n"; __END__ __C__ double f_max() { return FLT_MAX; } double f_min() { return FLT_MIN; }