Stricter check for math.h functions