test241

Undocumented in source.
immutable
auto test241 = q{--- test241 // Compile-time int <-> float f32 i8_to_f32() { return cast(f32)cast( i8)-100; } f32 i16_to_f32() { return cast(f32)cast(i16)-100; } f32 i32_to_f32() { return cast(f32)cast(i32)-100; } f32 i64_to_f32() { return cast(f32)cast(i64)-100; } f32 u8_to_f32() { return cast(f32)cast( u8)100; } f32 u16_to_f32() { return cast(f32)cast(u16)100; } f32 u32_to_f32() { return cast(f32)cast(u32)100; } f32 u64_to_f32() { return cast(f32)cast(u64)100; } f64 i8_to_f64() { return cast(f64)cast( i8)-100; } f64 i16_to_f64() { return cast(f64)cast(i16)-100; } f64 i32_to_f64() { return cast(f64)cast(i32)-100; } f64 i64_to_f64() { return cast(f64)cast(i64)-100; } f64 u8_to_f64() { return cast(f64)cast( u8)100; } f64 u16_to_f64() { return cast(f64)cast(u16)100; } f64 u32_to_f64() { return cast(f64)cast(u32)100; } f64 u64_to_f64() { return cast(f64)cast(u64)100; } i8 f32_to__i8() { return cast( i8)cast(f32)-100.5; } i16 f32_to_i16() { return cast(i16)cast(f32)-100.5; } i32 f32_to_i32() { return cast(i32)cast(f32)-100.5; } i64 f32_to_i64() { return cast(i64)cast(f32)-100.5; } u8 f32_to__u8() { return cast( u8)cast(f32)100.5; } u16 f32_to_u16() { return cast(u16)cast(f32)100.5; } u32 f32_to_u32() { return cast(u32)cast(f32)100.5; } u64 f32_to_u64() { return cast(u64)cast(f32)100.5; } i8 f64_to__i8() { return cast( i8)cast(f64)-100.5; } i16 f64_to_i16() { return cast(i16)cast(f64)-100.5; } i32 f64_to_i32() { return cast(i32)cast(f64)-100.5; } i64 f64_to_i64() { return cast(i64)cast(f64)-100.5; } u8 f64_to__u8() { return cast( u8)cast(f64)100.5; } u16 f64_to_u16() { return cast(u16)cast(f64)100.5; } u32 f64_to_u32() { return cast(u32)cast(f64)100.5; } u64 f64_to_u64() { return cast(u64)cast(f64)100.5; } };

Meta