diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-04-21 21:19:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-04-21 21:19:39 -0700 |
commit | b4d9e01b4c68a995d39f7c01c43ba2aed02c968b (patch) | |
tree | 97312474f566b5e08f352bf830a91f488290f26f /arith.h | |
parent | 4e647f4d27827d2918e519cb3f52583d2bbb2a59 (diff) | |
download | txr-b4d9e01b4c68a995d39f7c01c43ba2aed02c968b.tar.gz txr-b4d9e01b4c68a995d39f7c01c43ba2aed02c968b.tar.bz2 txr-b4d9e01b4c68a995d39f7c01c43ba2aed02c968b.zip |
Rename c_uint_ptr_num; introduce cunum typedef.
Unsigned version of cnum becomes less verbose.
* arith.c (c_uint_ptr_num): Renamed to c_unum.
* arith.h (c_uint_ptr_num): Declaration removed.
(c_unum): Declared.
* itypes.c (c_u32, c_u64, c_uint): Follow rename.
* lib.h (ucnum): New typedef.
* rand.c (make_random_state): Follow rename.
Diffstat (limited to 'arith.h')
-rw-r--r-- | arith.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ int num_to_buffer(val num, mem_t *buf, int bytes); int highest_bit(int_ptr_t n); val normalize(val bignum); val in_int_ptr_range(val bignum); -uint_ptr_t c_uint_ptr_num(val num); +ucnum c_unum(val num); val cum_norm_dist(val x); val n_choose_k(val n, val k); val n_perm_k(val n, val k); |