Bug #112757 | Comparison on FLOAT column return wrong result | ||
---|---|---|---|
Submitted: | 18 Oct 2023 1:53 | Modified: | 18 Oct 2023 10:19 |
Reporter: | George Ma (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.34 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[18 Oct 2023 1:53]
George Ma
[18 Oct 2023 10:19]
MySQL Verification Team
Hi Mr. Ma, Thank you for your bug report. However, this is not a bug. It is a very well known fact that IEEE floating point types can not be compared for equality. Not even with 0.0, as IEEE also has -0.0. This is also described in our Reference Manual. If you need equality, try DECIMAL type. Not a bug.