Bug in BigDecimal.stripTrailingZeros()
Guillermo Rodriguez Garcia <[email protected]> Wed, 5 Jun 2019 11:59:52 +0200
| Newsgroups | gmane.comp.java.classpath.devel |
|---|---|
| Message-ID | <CABDcavb6ZOjja1qSY1QWhKX4RvHF9==5p84e9Gy-kB2aW=8JDA@mail.gmail.com> |
--0000000000006de994058a90a948 Content-Type: text/plain; charset="UTF-8" Hi all, BigDecimal.stripTrailingZeros() throws an exception when the value is zero. Here's a bug report with a test case and a fix: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90755 BR, Guillermo Rodriguez Garcia [email protected] --0000000000006de994058a90a948 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Hi all,<div><br></div><div>BigDecimal.str= ipTrailingZeros() throws an exception when the value is zero.</div><div>Her= e's a bug report with a test case and a fix:</div><div><br></div><div><= a href=3D"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90755">https://gcc= .gnu.org/bugzilla/show_bug.cgi?id=3D90755</a></div><div><br></div><div>BR,<= br></div><div><div><br></div><div dir=3D"ltr" class=3D"gmail_signature">Gui= llermo Rodriguez Garcia<br><a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a></div></div></div></div> --0000000000006de994058a90a948--