ENG-4880: Make comparison work in IEEE754 mode or not depending on caller.
Needs tests.