Bug in BigDecimal.toPlainString()

Guillermo Rodriguez Garcia <[email protected]> Wed, 5 Jun 2019 17:25:56 +0200
Newsgroups gmane.comp.java.classpath.devel
Message-ID <CABDcavaa0aHEcFBAtgN+dnba_UgEV3CjdPCtLQ0LYs7K2za2jA@mail.gmail.com>
--0000000000008f1078058a9537b6
Content-Type: text/plain; charset="UTF-8"

Hi all,

BigDecimal.toPlainString() does not work as expected for negative, scaled
integer valees.
Here's a bug report with a test case and a fix:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90759

BR,

Guillermo Rodriguez Garcia
[email protected]

--0000000000008f1078058a9537b6
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.toP=
lainString() does not work as expected for negative, scaled integer valees.=
</div><div>Here&#39;s a bug report with a test case and a fix:</div><div><b=
r></div><div><a href=3D"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D9075=
9">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90759</a><br></div><div><=
br></div><div>BR,<br><br><div dir=3D"ltr" class=3D"gmail_signature">Guiller=
mo Rodriguez Garcia<br><a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a></div></div></div></div>

--0000000000008f1078058a9537b6--