package smtml
Module Ty.CvtopSource
type t = | ToString(*Convert to string.
*)| OfString(*Convert from string.
*)| ToBool(*Convert to boolean.
*)| OfBool(*Convert from boolean.
*)| Reinterpret_int(*Reinterpret as integer.
*)| Reinterpret_float(*Reinterpret as float.
*)| DemoteF64(*Demote 64-bit float to 32-bit.
*)| PromoteF32(*Promote 32-bit float to 64-bit.
*)| ConvertSI32(*Convert signed to 32-bit integer.
*)| ConvertUI32(*Convert unsigned to 32-bit integer.
*)| ConvertSI64(*Convert signed to 64-bit integer.
*)| ConvertUI64(*Convert unsigned to 64-bit integer.
*)| TruncSF32(*Truncate signed 32-bit float.
*)| TruncUF32(*Truncate unsigned 32-bit float.
*)| TruncSF64(*Truncate signed 64-bit float.
*)| TruncUF64(*Truncate unsigned 64-bit float.
*)| Trunc_sat_f32_s| Trunc_sat_f32_u| Trunc_sat_f64_s| Trunc_sat_f64_u| WrapI64(*Wrap 64-bit integer.
*)| Sign_extend of int(*Sign-extend to a specified bit width.
*)| Zero_extend of int(*Zero-extend to a specified bit width.
*)| String_to_code(*Convert string to Unicode code point. (str.to_code String Int)
*)| String_from_code(*Convert Unicode code point to string. (str.to_int String Int)
*)| String_to_int(*Convert string to integer. (str.from_int Int String)
*)| String_from_int(*Convert integer to string.
*)| String_to_float(*Convert string to float.
*)| String_to_re(*Convert string to regular expression.
*)
The type t represents conversion operations.
equal op1 op2 checks if conversion operations op1 and op2 are equal.