1 2 3 4 5 6 7 8
__complex__ float func (__complex__ float x) { if (__real__ x == 0.0) return 1.0; else return 0.0; }