fix Issue 12412. isNaN and brothers update: CTFE-able, returns bool, unittests

minor update

remove else after ctfe

update unittests

remove line

remove line