Logo Oficial MASTR MASTR Apoyar el trabajo
Contenido
← Inicio de la wiki

Fundamentos de blockchain

Integer precision and rounding

Contracts use finite integer arithmetic and decimal scaling.

Reference note · Sources below

Los artículos de investigación y las referencias se publican en inglés. La navegación está disponible en siete idiomas.

En este artículo
  1. Overview
  2. Why it matters
  3. What to check
  4. Sources

Overview

Contracts use finite integer arithmetic and decimal scaling.

Why it matters

Repeated rounding or conversion order can move value.

What to check

Reproduce calculations with raw units.

Sources

Lecturas relacionadas

Fundamentos de blockchain

Blob data for rollups

EIP-4844 blobs provide temporary data space priced apart from execution gas.

MASTR

Apoya la investigación independiente

Las investigaciones, las pruebas originales y las guías son de acceso libre. Las donaciones voluntarias ayudan a financiar la investigación y a mantener disponibles las herramientas de MASTR.

Abrir billetera