Open prafair opened 2 years ago
Hello, thanks for the report Can you explain how this can affect application in negative way?
We saw this opportunity but decided that different way of typing numbers cannot hurt our app
thank you
@AleksandrShepelev thanks for watching =) Sorry for the long reply!
Yes, indeed, if you use Python type Decimal - these are the correct values (Infinity
, 0x1
).
But I've now found the combination 0xInfinity
and it is perceived as a number.
Therefore, I began to doubt, maybe some kind of preprocessing is used, I don't know.
And also, I can imagine that this is somehow used for statistical purposes;) And of course, consistency support (for example, such numbers are not allowed in the web or mobile applications).
And yes, of course, the decision to fix it or not is entirely up to you;)
Bug Type
Functional
Reproduction steps
https://user-images.githubusercontent.com/15040493/190928280-fed3f57a-ed24-49f9-ac55-9dc2eecea0dc.mov
Actual result
Expected result
Suggested Severity
High
Device
Desktop:
Smartphone:
Additional Context
Of course, we also have to think about a floating point number (for example, 1e1 and 1e+1 or 1e-1). But in this context we are talking about strings and a hexadecimal system, let's focus on that 🙂