From 4eab72067e9530608e5c852790e307d20c24c78f Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Thu, 20 Sep 2018 19:32:04 +0200 Subject: [PATCH] [#5939] Added rounding error disclaimer --- jOOQ/src/main/java/org/jooq/impl/DSL.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jOOQ/src/main/java/org/jooq/impl/DSL.java b/jOOQ/src/main/java/org/jooq/impl/DSL.java index 1797c1dcb9..75ee952d2b 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DSL.java +++ b/jOOQ/src/main/java/org/jooq/impl/DSL.java @@ -17367,6 +17367,9 @@ public class DSL { * emulates this using exp(sum(log(arg))) for strictly positive * numbers, and does some additional handling for zero and negative numbers. *

+ * Note that this implementation may introduce rounding errors, even for + * integer multiplication. + *

* More information here: https://blog.jooq.org/2018/09/21/how-to-write-a-multiplication-aggregate-function-in-sql. */ @@ -17382,6 +17385,9 @@ public class DSL { * emulates this using exp(sum(log(arg))) for strictly positive * numbers, and does some additional handling for zero and negative numbers. *

+ * Note that this implementation may introduce rounding errors, even for + * integer multiplication. + *

* More information here: https://blog.jooq.org/2018/09/21/how-to-write-a-multiplication-aggregate-function-in-sql. */