Skip to main content
15 events
when toggle format what by license comment
Dec 12, 2022 at 7:36 history edited Paul Razvan Berg CC BY-SA 4.0
Update features of PRBMath
Apr 20, 2021 at 14:10 history edited Paul Razvan Berg CC BY-SA 4.0
Add PRBMath, update links for Exponential and ABDKMathQuad, add more bullet points, replace "decimal" with "denary"
Mar 11, 2021 at 10:02 history edited Paul Razvan Berg CC BY-SA 4.0
Mention OpenZeppelin forum post
Mar 8, 2021 at 11:36 history edited Paul Razvan Berg CC BY-SA 4.0
Remove note about the unlicensed state of ABKD and Compound (they are licensed now)
Aug 29, 2020 at 18:27 history edited Paul Razvan Berg CC BY-SA 4.0
Update DecimalMath
May 30, 2020 at 11:42 vote accept Paul Razvan Berg
May 28, 2020 at 12:55 history edited Paul Razvan Berg CC BY-SA 4.0
Remove OpenZeppelin (stale) and add reference to Mikhail Vladimirov's blog series
May 28, 2020 at 11:03 history edited Paul Razvan Berg CC BY-SA 4.0
Enhance formatting and add Bankex
May 27, 2020 at 20:54 comment added Paul Razvan Berg Hah, what I meant is, I wouldn't encourage a simple approach when dealing with fixed-points. There's always something that could go wrong, and I'd rather rely on other more robust contracts (and tests!) that people wrote before me.
May 27, 2020 at 20:52 comment added goodvibration I had to google-translate brittlest, which gave me: having hardness and rigidity but little tensile strength. Now I have to google-translate pretty much every one of the words in that...
May 27, 2020 at 20:39 comment added Paul Razvan Berg That's true, but I'd argue that the simplest approach to fixed-point math in solidity is also the brittlest.
May 27, 2020 at 20:32 comment added goodvibration You forgot the simplest (and most accurate) method: maintain a tuple of numerator and denominator, and in every computation, avoid division for as long as possible (i.e., use it only in order to avoid an overflow).
May 27, 2020 at 19:18 history edited Paul Razvan Berg CC BY-SA 4.0
added 41 characters in body
May 27, 2020 at 18:58 history edited Paul Razvan Berg CC BY-SA 4.0
deleted 6 characters in body
May 27, 2020 at 18:31 history answered Paul Razvan Berg CC BY-SA 4.0