Created attachment 208724 [details] Add __isnan and __isnanf to math.h In bug 241550, Gleb Popov reports that trivia CUDA programs can't be compiled due to missing __isnan and __isnanf functions. These are apparently Linuxisms. I have prepared a patch which adds these as macro aliases to <math.h>, but since these isnan functions and macros have a long history of compatibility problems, I would prefer to see an exp-run done before I commit it.
Committed patch in base r354255.