W3cubDocs

/Pony

_ArithmeticConvertible

[Source]

trait val _ArithmeticConvertible

Public Functions

i8

[Source]

fun box i8()
: I8 val

Returns

i16

[Source]

fun box i16()
: I16 val

Returns

i32

[Source]

fun box i32()
: I32 val

Returns

i64

[Source]

fun box i64()
: I64 val

Returns

i128

[Source]

fun box i128()
: I128 val

Returns

ilong

[Source]

fun box ilong()
: ILong val

Returns

isize

[Source]

fun box isize()
: ISize val

Returns

u8

[Source]

fun box u8()
: U8 val

Returns

u16

[Source]

fun box u16()
: U16 val

Returns

u32

[Source]

fun box u32()
: U32 val

Returns

u64

[Source]

fun box u64()
: U64 val

Returns

u128

[Source]

fun box u128()
: U128 val

Returns

ulong

[Source]

fun box ulong()
: ULong val

Returns

usize

[Source]

fun box usize()
: USize val

Returns

f32

[Source]

fun box f32()
: F32 val

Returns

f64

[Source]

fun box f64()
: F64 val

Returns

i8_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box i8_unsafe()
: I8 val

Returns

i16_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box i16_unsafe()
: I16 val

Returns

i32_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box i32_unsafe()
: I32 val

Returns

i64_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box i64_unsafe()
: I64 val

Returns

i128_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box i128_unsafe()
: I128 val

Returns

ilong_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box ilong_unsafe()
: ILong val

Returns

isize_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box isize_unsafe()
: ISize val

Returns

u8_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box u8_unsafe()
: U8 val

Returns

u16_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box u16_unsafe()
: U16 val

Returns

u32_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box u32_unsafe()
: U32 val

Returns

u64_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box u64_unsafe()
: U64 val

Returns

u128_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box u128_unsafe()
: U128 val

Returns

ulong_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box ulong_unsafe()
: ULong val

Returns

usize_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box usize_unsafe()
: USize val

Returns

f32_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box f32_unsafe()
: F32 val

Returns

f64_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box f64_unsafe()
: F64 val

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-_ArithmeticConvertible