C# Conversion Notes
A few notes on converting C# to C++ and Omni:

System.Math -> #include <cmath>

Abs(X) - Returns the absolute value of a number.
std::abs

Acos(Double) - Returns the angle whose cosine is the specified number.
std::acos

Acosh(Double) - Returns the angle whose hyperbolic cosine is the specified number.
std::acosh - C++11

Asin(Double) - Returns the angle whose sine is the specified number.
std::asin

Asinh(Double) - Returns the angle whose hyperbolic sine is the specified number.
std::asinh - C++11

Atan(Double) - Returns the angle whose tangent is the specified number.
std::atan

Atan2(Double, Double) - Returns the angle whose tangent is the quotient of two specified numbers.
std::atan2

Atanh(Double) - Returns the angle whose hyperbolic tangent is the specified number.
std::atanh - C++11

BigMul(Int32, Int32) - Produces the full product of two 32-bit numbers.
BigMul(Int64, Int64, Int64) - Produces the full product of two 64-bit numbers.
BigMul(UInt64, UInt64, UInt64) - Produces the full product of two unsigned 64-bit numbers.

BitDecrement(Double) - Returns the next smallest value that compares less than x.

BitIncrement(Double) - Returns the next largest value that compares greater than x.

Cbrt(Double) - Returns the cube root of a specified number.
std::cbrt - C++11

Ceiling(X) - Returns the smallest integral value that is greater than or equal to the specified decimal number.
std::ceil

Clamp(X, X, X) - Returns value clamped to the inclusive range of min and max.
std::clamp - C++11

CopySign(Double, Double) - Returns a value with the magnitude of x and the sign of y.

Cos(Double) - Returns the cosine of the specified angle.
std::cos

Cosh(Double) - Returns the hyperbolic cosine of the specified angle.
std::cosh

DivRem(Int32, Int32, Int32) - Calculates the quotient of two 32-bit signed integers and also returns the remainder in an output parameter.
DivRem(Int64, Int64, Int64) - Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter.

Exp(Double) - Returns e raised to the specified power.
std::exp

Floor(X) - Returns the largest integral value less than or equal to the specified decimal number.
std::floor

FusedMultiplyAdd(Double, Double, Double) - Returns (x * y) + z, rounded as one ternary operation.

IEEERemainder(Double, Double) - Returns the remainder resulting from the division of a specified number by another specified number.

ILogB(Double) - Returns the base 2 integer logarithm of a specified number.
std::ilogb - C++11 {also just (int)(log(x)/log(2))}

Log(Double) - Returns the natural (base e) logarithm of a specified number.
std::log

Log(Double, Double) - Returns the logarithm of a specified number in a specified base.
func = return log(x)/log(y)

Log10(Double) - Returns the base 10 logarithm of a specified number.
std::log10

Log2(Double) - Returns the base 2 logarithm of a specified number.
std::log2 - C++11

Max(X, X) - Returns the larger of two decimal numbers.
std::max

MaxMagnitude(Double, Double) - Returns the larger magnitude of two double-precision floating-point numbers.

Min(X, X) - Returns the smaller of two decimal numbers.
std::min

MinMagnitude(Double, Double) - Returns the smaller magnitude of two double-precision floating-point numbers.

Pow(Double, Double) - Returns a specified number raised to the specified power.
std::pow

Round(X) - Rounds a double-precision floating-point value to the nearest integral value, and rounds midpoint values to the nearest even number.
std::round - C++11

Round(Double, Int32) - Rounds a double-precision floating-point value to a specified number of fractional digits, and rounds midpoint values to the nearest even number.
Round(Double, Int32, MidpointRounding) - Rounds a double-precision floating-point value to a specified number of fractional digits, and uses the specified rounding convention for midpoint values.
Round(Double, MidpointRounding) - Rounds a double-precision floating-point value to the nearest integer, and uses the specified rounding convention for midpoint values.

ScaleB(Double, Int32) - Returns x * 2^n computed efficiently.
std::ldexp

Sign(X) - Returns an integer that indicates the sign of a number.

Sin(Double) - Returns the sine of the specified angle.
std::sin

Sinh(Double) - Returns the hyperbolic sine of the specified angle.
std::sinh

Sqrt(Double) - Returns the square root of a specified number.
std::sqrt

Tan(Double) - Returns the tangent of the specified angle.
std::tan

Tanh(Double) - Returns the hyperbolic tangent of the specified angle.
std::tanh

Truncate(X) - Calculates the integral part of a specified decimal number.
std::trunc - C++11