You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2023/01/18 00:19:28 UTC

[GitHub] [druid] benkrug commented on pull request #13671: docs: clarify Java precision

benkrug commented on PR #13671:
URL: https://github.com/apache/druid/pull/13671#issuecomment-1386275064

   As far as max/min bounds, this seems accurate?  
   https://cs.fit.edu/~ryan/java/language/java-data.html (see the "Numeric" section.)
   So, for long, it's 2^63 (since one bit is for sign).
   Doubles are floating point, and precision varies depending on the size of the number.  
   We follow java, which follows standard IEEE 754  .  Precisions are discussed and graphed in the standard [here](https://en.wikipedia.org/wiki/IEEE_754).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org