mlx-bun library API
    Preparing search index...
    • Python's builtin round — HALF-TO-EVEN, unlike JS Math.round (half-up). smart_resize divides integer dims by factor 32, which lands on exact .5 for heights like 80 (2.5): the reference rounds DOWN to the even 2 where Math.round gives 3 — a different grid and silently different tokens.

      Parameters

      • x: number

      Returns number