EIP Radar
@ 41a838d ·
EIP-7543

EVM arbitrary precision decimal math

This EIP adds OPCODEs to allow arbitrary precision decimal float calculation of all elementary functions with precise gas enumeration.

StagnantSplurge

Status history

  1. Draft22 Oct 2023
  2. Stagnantdate not observed

Abstract

This EIP adds arbitrary precision decimal float OPCODEs for arithmetic via DECADD, DECNEG, DECMUL, DECINV and expression of all elementary functions via DECEXP, DECLN, DECSIN. All decimal values upto the maximal precision allowed by a int256 coefficient and exponent are represented exactly, as c*10^q. All implemented algorithms converge for all inputs given enough precision, as chosen by the…

Created
22 Oct 2023
Authors
1m1
Upgrades
Not listed in any upgrade
Requires
—
Required by
—