mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 08:07:28 -04:00
long (and unsigned long long) to long double conversions. - Add a parameter that specifies the position of the sign bit to the _QP_TTOQ macro, previously it always looked at bit 31. Pass a negative number to disable sign inspection for unsigned types. This fixes _Qp_xtoq(), _Qp_uitoq() and _Qp_uxtoq(). - In the functions __fpu_itof() and __fpu_xtof(), look at the sign bit to decide whether we're doing a conversion from an unsigned type. If so, don't negate the mantissa if the integer exceeds the biggest signed number. PR: 55773 Patch by: Stephen Paskaluk (based upon) MFC after: 2 weeks |
||
|---|---|---|
| .. | ||
| fpu | ||
| gen | ||
| net | ||
| stdlib | ||
| string | ||
| sys | ||
| _fpmath.h | ||
| arith.h | ||
| Makefile.inc | ||
| SYS.h | ||