T0016 — Functions: math

Part of the roadmap. Phase 1 · wave 4 · size S.

Goal

N1 §5.7 (STU in N1, but in phase-1 scope): abs, ceiling, exp, floor, ln, log, power, round, sqrt, truncate, using the T0004 kernels. abs also supports Quantity.

Acceptance criteria

  • The spec examples are tests. Invalid results ((-1).sqrt(), (-1).power(0.5)) are empty.
  • Conformance groups: testRound, testSqrt, testAbs, testCeiling, testExp, testFloor, testLn, testLog, testPower, testTruncate.