1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 05:40:17 +05:30
Commit Graph

17 Commits

Author SHA1 Message Date
ce575434ef
opt_int_div.h: prevent multiple inclusion 2024-06-26 12:16:50 +03:00
371f8819de
relicense: CC0 -> Unlicense 2024-04-25 23:16:39 +03:00
98f020413f
opt_int_div.h: make comments more descriptive 2024-04-22 00:22:49 +03:00
5049a3977e
opt_int_div.h: use a faster algorithm of checking 2024-04-22 00:21:44 +03:00
e1b9d09a28
opt_int_div.h: add a note 2024-04-22 00:08:49 +03:00
c2b3caf728
opt_int_div.*: label as a header-only library 2024-03-24 16:02:31 +03:00
df611cf964
opt_int_div.h: use operator != instead of ^ 2024-03-24 13:25:43 +03:00
0957b5dc49
opt_int_div.h: make test precision limit optional 2024-03-09 19:29:11 +03:00
4839ab2330
opt_int_div.h: add parentheses around a and b in last part of OPT_INT_DIV 2024-03-09 17:56:53 +03:00
3c9278f472
opt_int_div.h: add optimization for case abs(a) < abs(b) 2024-03-09 17:51:22 +03:00
fef612cec2
opt_int_div.h: extract sign explanation 2024-03-09 17:48:05 +03:00
e8d0b5a091
opt_int_div.h: fix the test in OPT_INT_DIV 2024-03-09 17:16:46 +03:00
9ead68332f
opt_int_div.h: explain the comment in macro OPT_INT_DIV_ROUNDING 2024-03-09 16:50:42 +03:00
195e1c177b
opt_int_div.h: fix macro OPT_INT_DIV_ROUNDING 2024-03-09 16:49:33 +03:00
0e6fd4e322
C: opt_int_div.*: add the full name 2024-02-25 01:09:36 +03:00
7898a3c1ca
C: opt_int_div.h: remove the unnecessary division after rounding 2024-02-25 01:07:22 +03:00
0ef6c03393
C: add opt_int_div.* 2024-02-24 20:05:25 +03:00