web3wagmi
← All standards

ERC-5850 Complex Numbers stored in `bytes32` types

StagnantERCcreated 2022-10-29

Store real and imaginary parts of complex numbers in the least significant and most significant 16 bytes respectively of a `bytes32` type.

Author: Paul Edge (@genkifs)

Functions this standard introduces (2)

0xe49e3f0ccnNew(int128,int128)pure
0x87cdc60bRealIm(bytes32)pure

What the specification covers

Compare with

Parsed from the canonical specification · discussion