protogram icon indicating copy to clipboard operation
protogram copied to clipboard

Guess when value is a float based on hueristic

Open JakeWharton opened this issue 5 years ago • 0 comments

Floats typically have a mantissa and exponent which has a very distinct bit pattern. When both are non-zero (or only the exponent) we likely have a float and should assume so and display the integer value only as a fallback (similar to how floats are displayed today).

JakeWharton avatar Dec 20 '19 04:12 JakeWharton