| 1870 | /// \param b second operand |
| 1871 | /// \return \a a - \a b |
| 1872 | friend f31 operator-(f31 a, f31 b) |
| 1873 | { |
| 1874 | int d = a.exp - b.exp, exp = a.exp; |
| 1875 | uint32 m = a.m - ((d<32) ? (b.m>>d) : 0); |
| 1876 | if(!m) |
| 1877 | return f31(0, -32); |
| 1878 | for(; m<0x80000000; m<<=1,--exp) ; |
| 1879 | return f31(m, exp); |
| 1880 | } |
| 1881 | |
| 1882 | /// Multiplication operator. |
| 1883 | /// \param a first operand |