Home
last modified time | relevance | path

Searched refs:normal_f (Results 1 – 25 of 101) sorted by relevance

12345

/dports/textproc/xsv-rs/xsv-0.13.0/cargo-crates/num-traits-0.2.4/tests/
H A Dcast.rs109 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
110 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
111 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
134 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
135 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
136 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
155 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/num-traits-0.2.12/tests/
H A Dcast.rs111 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
136 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
157 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/devel/interactive_rebase_tool/git-interactive-rebase-tool-1.2.1/cargo-crates/num-traits-0.2.6/tests/
H A Dcast.rs111 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
136 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
157 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/misc/broot/broot-1.7.0/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/net/gemserv/gemserv-v0.4.5/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/cargo-crates/num-traits-0.2.12/tests/
H A Dcast.rs111 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
136 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
157 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/games/genact/genact-0.10.0/cargo-crates/num-traits-0.2.12/tests/
H A Dcast.rs111 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
136 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
157 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/lang/gleam/gleam-0.18.2/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/num-traits-0.2.11/tests/
H A Dcast.rs111 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
136 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
157 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/devel/grex/grex-1.3.0/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/num-traits-0.2.10/tests/
H A Dcast.rs111 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
136 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
157 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/net/routinator/routinator-0.10.2/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/devel/git-delta/delta-0.9.2/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/num-traits-0.2.12/tests/
H A Dcast.rs111 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
112 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
136 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
137 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
157 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/editors/helix/helix-0.5.0/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]
/dports/editors/kak-lsp/kak-lsp-11.1.0/cargo-crates/num-traits-0.2.14/tests/
H A Dcast.rs112 assert_eq!(Some(normal_f as isize), cast::<f64, isize>(normal_f)); in cast_to_int_checks_overflow()
113 assert_eq!(Some(normal_f as i8), cast::<f64, i8>(normal_f)); in cast_to_int_checks_overflow()
114 assert_eq!(Some(normal_f as i16), cast::<f64, i16>(normal_f)); in cast_to_int_checks_overflow()
115 assert_eq!(Some(normal_f as i32), cast::<f64, i32>(normal_f)); in cast_to_int_checks_overflow()
116 assert_eq!(Some(normal_f as i64), cast::<f64, i64>(normal_f)); in cast_to_int_checks_overflow()
137 assert_eq!(Some(normal_f as u8), cast::<f64, u8>(normal_f)); in cast_to_unsigned_int_checks_overflow()
138 assert_eq!(Some(normal_f as u16), cast::<f64, u16>(normal_f)); in cast_to_unsigned_int_checks_overflow()
139 assert_eq!(Some(normal_f as u32), cast::<f64, u32>(normal_f)); in cast_to_unsigned_int_checks_overflow()
140 assert_eq!(Some(normal_f as u64), cast::<f64, u64>(normal_f)); in cast_to_unsigned_int_checks_overflow()
158 assert_eq!(Some(normal_f as i128), cast::<f64, i128>(normal_f)); in cast_to_i128_checks_overflow()
[all …]

12345