Quartz Composer is able to determine when a CIImage that results from
a patch has infinite dimensions. I assumed that it was doing so by
calling -[CIImage extent] and comparing the width and height to
INFINITY, or use the isnan() macro... but as it turns out, the actual
"infinite" coordinates for my CIImages are:
x -170141173319264429905852091742258462720.000000 (0xFEFFFFFF)
y -170141173319264429905852091742258462720.000000 (0xFEFFFFFF)
width 340282346638528859811704183484516925440.000000 (0x7F7FFFFF) ==
MAXFLOAT
height 340282346638528859811704183484516925440.000000 (0x7F7FFFFF) ==
MAXFLOAT
Is it safe to always compare against MAXFLOAT then?