(a: f64, b: f64)
| 713 | (0, NV) |
| 714 | } else { |
| 715 | ((a <= b) as u64, 0) |
| 716 | } |
| 717 | } |
| 718 | |
| 719 | // --- fclass, classify a floating-point value into one of 10 categories --- |
| 720 | // Bit index meanings: |
| 721 | // 0 = -inf 1 = -normal 2 = -subnormal 3 = -0 |
| 722 | // 4 = +0 5 = +subnormal 6 = +normal 7 = +inf |
| 723 | // 8 = sNaN (Rust cannot distinguish sNaN from qNaN, so we always use 9) |
| 724 | // 9 = qNaN |