Bug #111624 | It's storing -0 (Minus Zero) value | ||
---|---|---|---|
Submitted: | 29 Jun 2023 15:50 | Modified: | 30 Jun 2023 12:53 |
Reporter: | Vivek Lad | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.33 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | #minuszeroindouble, #mysql, #procedure |
[29 Jun 2023 15:50]
Vivek Lad
[30 Jun 2023 12:53]
MySQL Verification Team
Hi Mr. Lad, Thank you for your bug report. MySQL fully follows IEEE standards on the floating point values, just as any other big company. According to that standard, -0.0 is absolutely valid floating point number, in any of the three available formats. You should not get -0 with integers, where that value would be truly a bug. Not a bug.