lzutao 50320592a6 Fix #12060 and #12072 - Rewrite r_num_abs and r_num_units ##core
r_num_abs:

- Make r_num_abs static inline
- Use unsigned long long type when defining TB macro
- Use st64 instead of long long

r_num_units:

- Add len argument for buf in r_num_units
- Add PB and EB for r_num_units
- Always display one number after decimal point

  * This change simplifies the code
- Use long double type as assigning from ut64 to double cause data loss

r_num_tail_base:

- Use isxdigit (fast) instead of isHexDigit (slower)
- Rename nth to get_nth_nibble

Update all functions to use with new r_num_units:

- Remove side effect when using in other functions like cb_printf

* Trim trailing .0 when input is power of 2
2018-11-14 23:35:44 +01:00
..
2018-06-10 03:17:33 +02:00
2018-06-10 03:17:33 +02:00
2018-11-13 00:23:49 +01:00
2018-11-12 00:03:06 +01:00
2018-03-14 15:31:08 +01:00
2018-10-01 19:57:33 +02:00
2017-10-09 13:31:19 +02:00
2017-10-11 23:48:48 +02:00
2018-04-09 10:33:57 +02:00
2018-10-12 12:18:38 +02:00
2018-10-15 19:13:18 +02:00
2018-05-21 01:55:43 +02:00
2018-10-30 13:23:18 +01:00
2018-11-14 12:19:24 +01:00
2018-05-27 15:55:33 +02:00
2018-10-30 13:23:18 +01:00
2018-11-13 00:22:22 +01:00