Skip to content

Fix the incorrect double compare with e,E+,e+#77

Merged
UrielCh merged 1 commit intonetplex:masterfrom
hezhangjian:master
Dec 16, 2021
Merged

Fix the incorrect double compare with e,E+,e+#77
UrielCh merged 1 commit intonetplex:masterfrom
hezhangjian:master

Conversation

@hezhangjian
Copy link
Copy Markdown
Collaborator

The use extra CPU to check if the result can be return as double without precision lost does not consider the case of double can appear e E+ e+, but the double toString only shows E.
Which will lead to an incorrect compare failure.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants