EchoNullify commented on code in PR #3121: URL: https://github.com/apache/tinkerpop/pull/3121#discussion_r2112758929
########## docs/src/dev/provider/gremlin-semantics.asciidoc: ########## @@ -104,6 +104,16 @@ convert all of them to floating point. BigDecimal and BigInteger may not be supported depending on the language and Storage, therefore the behavior of type casting for these two types can vary depending on a Graph provider. +**Number Promotion on Mathematical Operations** + +On math operations (when used in steps such as sum/sack) the highest common number class between +the two inputs us used. Any number being floating point forces a floating point result. Review Comment: Typo fixed -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
