Rev 1031 | Rev 1657 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1031 | Rev 1653 | ||
|---|---|---|---|
| Line 50... | Line 50... | ||
| 50 | }; |
50 | }; |
| 51 | 51 | ||
| 52 | 52 | ||
| 53 | 53 | ||
| 54 | /** Take fraction shifted by 10 bits to left, round it, normalize it and detect exceptions |
54 | /** Take fraction shifted by 10 bits to left, round it, normalize it and detect exceptions |
| 55 | * @param exp exponent with bias |
55 | * @param cexp exponent with bias |
| 56 | * @param cfrac fraction shifted 10 places left with added hidden bit |
56 | * @param cfrac fraction shifted 10 places left with added hidden bit |
| - | 57 | * @param sign |
|
| 57 | * @return valied float64 |
58 | * @return valied float64 |
| 58 | */ |
59 | */ |
| 59 | float64 finishFloat64(int32_t cexp, uint64_t cfrac, char sign) |
60 | float64 finishFloat64(int32_t cexp, uint64_t cfrac, char sign) |
| 60 | { |
61 | { |
| 61 | float64 result; |
62 | float64 result; |