luna-utils

Version 0.2.0 is a breaking rebuild of the numeric base for Luna-Flow. The module depends only on moonbitlang/core; the legacy array and comparison API has been removed. At this migration stage the root package exports no functions, types or traits.

The numeric package roadmap is tracked in issue #19. Float representation APIs are available through #25, round-to-integral directions through #24, and IEEE extrema and total ordering through #23. Other planned work includes integer arithmetic, conversions, magnitude extrema, stable hash, text, bigint and software FMA. The decided location for libm is the math subpackage (#30).

The generated interface pkg.generated.mbti is the public-name authority for this checkout. Published Mooncakes documentation may still describe an older release. Source filenames are not MoonBit package boundaries.

Migration manual

Existing page paths remain available as migration guidance: array API, design, tutorial; comparison API, design, tutorial. See the contribution checklist before opening a pull request.

See backend conformance testing for the CI contract, offline oracle corpus and local commands.

Float representation packages are available: API, design, tutorial and conformance, with a generated conformance checklist. The root package remains empty; import the float subpackages explicitly.