abs() only returns integer values, while arguments and results are real in the cases fixed. Also fixes some unexpected tokens after `#endif`.