Hello. Le mar. 18 juil. 2023 à 02:48, Dimitrios Efthymiou <efthymiou.dimitri...@gmail.com> a écrit : > > Thanks Gilles. I checked NUMBERS-193 and i have an implementation of DD and > i will put it in *.ext package (TBD) along with some tests. Do i have to > look at Dfd.java or something, because these dfd classes in math legacy > core have lots of hard-coded decimals in there.
Yes, we need to sort out what to with with the "Dfp" classes: I don't know how useful they will be once the DD implementation is available. We'll perhaps need benchmarks to assess speed vs precision among all extended precision implementations: * DD in [Numbers], * Dfp in [Math] * BigDecimal in the JDK If "Dfp" is somehow (TBD) useful, it should be moved to a module of its own, perhaps in [Numbers]. > Do these need to be copied > to DD or just implement the high/low part, add, multiply and checks for > overflows? You might want to have a look at https://issues.apache.org/jira/browse/MATH-1591 Regards, Gilles > > > [...] --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org