alibaba / alibaba/QLExpress

浮点数相等比较不能直接用“==”,OperatorOfNumber.java

Open
#75 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

在compareNumber函数中,浮点数的相等比较直接用了等号

Contributor guide

No contributing guide indexed for this repository

Research direction

Open OperatorOfNumber.java and locate compareNumber. First inspect how floating-point equality is currently handled and find the relevant comparison tests or test entry point. The issue is done when floating-point equality no longer relies directly on == and the behavior is covered by a passing regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.