Skip to main content
added 1 character in body
Source Link
gnasher729
  • 47.5k
  • 4
  • 68
  • 133

You shouldn’t expect bit-for-bit identical results. Even ab + cd is alliedallowed by C, C++ and others to yield at least two different results.

You use different methods in different cases. For example, if you use floats instead of double, have a unit test that compares bithboth methods and checks whether results are acceptable.

You shouldn’t expect bit-for-bit identical results. Even ab + cd is allied by C, C++ and others to yield at least two different results.

You use different methods in different cases. For example, if you use floats instead of double, have a unit test that compares bith methods and checks whether results are acceptable.

You shouldn’t expect bit-for-bit identical results. Even ab + cd is allowed by C, C++ and others to yield at least two different results.

You use different methods in different cases. For example, if you use floats instead of double, have a unit test that compares both methods and checks whether results are acceptable.

Source Link
gnasher729
  • 47.5k
  • 4
  • 68
  • 133

You shouldn’t expect bit-for-bit identical results. Even ab + cd is allied by C, C++ and others to yield at least two different results.

You use different methods in different cases. For example, if you use floats instead of double, have a unit test that compares bith methods and checks whether results are acceptable.