jeblad added a comment.
The Wikibase number type uses bcmath, which is a PHP interface to the BC
library, which is the library that implements the BC utility in *nix. The
BCmath extension implements a Lua interface to the bcmath interface library in
PHP. The bcmath C-library is pretty old, and is not IEEE 754 compliant, but the
Wikibase numbers, ie the Wikibase quantity, ie a whole bunch of Wikidata
statements use this format.
No, it is //not// a proposal to replace bcmath with decnumber, it is a
question whether BCmath is a sufficient implementation according to the current
assumptions made in Wikibase number.
I have already got a reply from people at WMDE, they use bcmath. The
remaining question is whether the BCmath extension (aka Lua interface) is a
sufficient implementation for processing Wikibase numbers according to their
assumptions.
TASK DETAIL
https://phabricator.wikimedia.org/T234784
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jeblad
Cc: jeblad, Aklapper, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86,
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs,
aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs