Adjusting the input value to allow round to nearest can cause an overflow which invalidates the expectation that the 32-bit result is the low 32 bits of the 64-bit result. If the adjustment overflows do the full-precision conversion and truncate in the caller. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| __assert.h | ||
| arch_interface.h | ||
| atomic.h | ||
| base64.h | ||
| byteorder.h | ||
| check.h | ||
| crc.h | ||
| dlist.h | ||
| errno_private.h | ||
| fdtable.h | ||
| libc-hooks.h | ||
| list_gen.h | ||
| math_extras_impl.h | ||
| math_extras.h | ||
| mempool_base.h | ||
| mempool.h | ||
| mutex.h | ||
| notify.h | ||
| onoff.h | ||
| printk.h | ||
| rb.h | ||
| ring_buffer.h | ||
| sem.h | ||
| sflist.h | ||
| slist.h | ||
| speculation.h | ||
| sys_heap.h | ||
| sys_io.h | ||
| thread_stack.h | ||
| time_units.h | ||
| timeutil.h | ||
| util.h | ||