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-05-21 22:13:07 +02:00
2017-07-20 10:48:55 +02:00
2014-06-25 04:11:43 +02:00
2018-07-30 18:49:37 +02:00
2018-11-14 12:50:30 +01:00
2018-11-14 12:50:30 +01:00
2018-11-11 15:08:47 +01:00
2018-03-15 11:48:21 +01:00
2018-01-06 23:45:06 +01:00
2018-11-14 12:50:30 +01:00
2018-08-07 22:14:54 +02:00
2017-05-13 00:42:00 +02:00
2016-02-21 03:45:41 +01:00
2018-10-15 19:13:18 +02:00
2018-11-13 00:24:23 +01:00
2018-10-12 12:20:18 +02:00
2018-11-14 13:47:43 +01:00
2018-06-30 10:08:22 +02:00
2012-09-04 01:46:12 +02:00