--- - branch: MAIN date: Fri Dec 1 01:08:35 UTC 2017 files: - new: '1.7' old: '1.6' path: src/tests/lib/libc/locale/t_sprintf.c pathrev: src/tests/lib/libc/locale/t_sprintf.c@1.7 type: modified id: 20171201T010835Z.ebda48ec9885f4c0c515e40848d583ecb634b382 log: | Since the C standard allows for intermediate floating results to contain more precision bits than the data type expects, but (kind of obviously) does not allow such values to be stored in memory, expecting the value returned from strtod() (an intermediate result) to be identical (that is, equal) to a stored value is incorrect. So instead go back to checking that the two numbers are very very close. See comments added to the test for more explanation. module: src subject: 'CVS commit: src/tests/lib/libc/locale' unixtime: '1512090515' user: kre