SplitScript reference / Migration / Numeric powers

Numeric powers

Migration from C#

Source pattern

Look for the C# concept Numeric powers in the source. The semantic difference below is more important than a token-for-token rewrite.

Canonical SplitScript

Use the canonical language and API symbols linked below.

Semantic difference

Use value.squared() for the corpus-proven exponent two and an explicit typed shift for power-of-two masks; general floating powers remain planned.

Supported hosts

This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.