The following code produces the result -inf.
fn main() {
println!("{}", (-10. / 0.));
}
However, when I tried the following code, it didn't print true, instead it gave me an error.
fn main() {
println!("{}", (-10. / 0.) == -inf);
}
What value should I give instead of -inf to get true printed out?