MiniDoom

src/stdlib.ml

Supplies the small numeric and string compatibility helpers expected by translated Doom modules.

Package
(global)
Reachable
Yes

Declarations

abs

inline function abs(x)

Returns a numeric magnitude while preserving integer or floating-point representation.

ParameterTypeDefaultDescription
xdynamic—Horizontal map- or screen-space coordinate.

View source