MySQL Forums
Forum List  »  General

Re: MySQL: implicit float cast different between 32bit and 64bit mysql-version
Posted by: Rick James
Date: June 11, 2015 08:44AM

Matthias, was that on the same hardware and OS?

> The precision used for floats (FLOAT, DOUBLE) depends on platform and implementation.

Jon, a third if a century ago, the IEEE-754 standard mostly obliterated the incompatibility of FLOAT and DOUBLE. Could it be that the conversion library has changed? Could it be that MySQL used to treat that as DECIMAL, not does it as DOUBLE? (Or vice versa) Perhaps the 32-bit library does not adequately emulate 64-bit arithmetic?

On the one hand I defend MySQL's caveat; on the other hand I smell a software bug somewhere.

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL: implicit float cast different between 32bit and 64bit mysql-version
June 11, 2015 08:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.