SplitScript reference / Migration / Floating-point square root
Floating-point square root
Migration from C#
Source pattern
Look for the C# concept Floating-point square root 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.sqrt() with an explicit f32 or f64 boundary when preserving C# Math versus MathF semantics.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
- Float.sqrt (standard library)