Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
bc
/
33a1c689f4d5cf2026c92a954c36a50f6e772c8e
/
src
/
num.c
33a1c68
Improve format of dumped BcNum values in debug traces
by Stefan Esser
· 6 years ago
40b53d2
Fix position of decimal point when dividing by a very small number.
by Stefan Esser
· 6 years ago
4c1e43a
Fix scale parameters and remove bogus bc_num_extend calls
by Stefan Esser
· 6 years ago
72109f4
Optimize bc_num_pow10
by Stefan Esser
· 6 years ago
154b473
Replace Newton-Raphson algorithm by Goldschmidt algorithm.
by Stefan Esser
· 6 years ago
7099715
Fix division: Extend variable to required number of decimal places
by Stefan Esser
· 6 years ago
db97063
Add function to round number to a given number of decimal places
by Stefan Esser
· 6 years ago
d793fa5
Undo change to scale calculation in bc_num_m
by Stefan Esser
· 6 years ago
45a5612
Merge branch 'base9' of https://github.com/gavinhoward/bc into d9
by Stefan Esser
· 6 years ago
217379d
Small optimization of the division function
by Stefan Esser
· 6 years ago
6e129fc
Small optimization of the division function
by Stefan Esser
· 6 years ago
b5aeb44
Updated implementation of Newton-Raphson division algorithm to match upstream changes
by Stefan Esser
· 6 years ago
b41483b
Make length work
by Gavin Howard
· 6 years ago
2316cb4
Remove two unused functions
by Gavin Howard
· 6 years ago
948b639
Move an item
by Gavin Howard
· 6 years ago
20afaea
Fix even more style
by Gavin Howard
· 6 years ago
c88e523
Fix more style
by Gavin Howard
· 6 years ago
034b5b9
Fix some style
by Gavin Howard
· 6 years ago
edd9d9d
Fix a divide by 0
by Gavin Howard
· 6 years ago
37118f4
Change bc_num_printDigs() a bit
by Gavin Howard
· 6 years ago
5b40e40
Add another print debug function
by Gavin Howard
· 6 years ago
cf9f246
Fix the multiplication scale back
by Gavin Howard
· 6 years ago
2e736de
Fix some style
by Gavin Howard
· 6 years ago
ac244bd
Fix calculation of scale in multiplications
by Charlie Root
· 6 years ago
cdda6e9
Add simple debug print macro
by Stefan Esser
· 6 years ago
6189d95
Fix segmentation fault that occurs if the target rdx is lower than the current rdx
by Stefan Esser
· 6 years ago
70f1185
Fix mismerge regarding nBcDig vs. places
by Stefan Esser
· 6 years ago
87c27b5
Merge branch 'base9' of https://github.com/gavinhoward/bc into d9
by Stefan Esser
· 6 years ago
c25fd61
Change some code back to what it was (with adjustments)
by Gavin Howard
· 6 years ago
193f852
Iterative division based on Newton Raphson algorithm
by Stefan Esser
· 6 years ago
7744543
Fix various small issues
by Gavin Howard
· 6 years ago
404ece7
Clean up some style
by Gavin Howard
· 6 years ago
a3f260c
Remove more TODO comments that are done
by Gavin Howard
· 6 years ago
74b16c3
Remove some TODO comments that are done
by Gavin Howard
· 6 years ago
48a0e47
Make multiply pass its tests
by Gavin Howard
· 6 years ago
c9bef2d
Fix truncate and extend
by Gavin Howard
· 6 years ago
da6b543
Remove a compiler warning
by Gavin Howard
· 6 years ago
b155866
Make shift work
by Gavin Howard
· 6 years ago
971a267
Some general cleanup on math
by Gavin Howard
· 6 years ago
c4783ac
Fix some compiler warnings
by Gavin Howard
· 6 years ago
e2e67ec
Remove some done TODO comments
by Gavin Howard
· 6 years ago
6fccd22
Get rid of some compiler warnings
by Gavin Howard
· 6 years ago
e6f326e
Make subtract work
by Gavin Howard
· 6 years ago
1c1697c
Add a useful #define
by Gavin Howard
· 6 years ago
fba50a2
Make add work
by Gavin Howard
· 6 years ago
9cf865f
Remove some TODO comments that are done
by Gavin Howard
· 6 years ago
51cd7ea
Make printing decimal numbers work
by Gavin Howard
· 6 years ago
6076dbb
Fix another bug in the parse decimal procedure
by Gavin Howard
· 6 years ago
3b60abb
Make parsing decimal work
by Gavin Howard
· 6 years ago
f196fbe
Fix a warning
by Gavin Howard
· 6 years ago
d43ec37
Make decimal parsing work
by Gavin Howard
· 6 years ago
fcf2901
Make some changes and mark functions that need work
by Gavin Howard
· 6 years ago
f49fdaa
Fix some more style
by Gavin Howard
· 6 years ago
af107d9
Fix some style
by Gavin Howard
· 6 years ago
7daf7e6
Merge pull request #15 from stesser/d9
by Gavin D. Howard
· 6 years ago
b53a994
Fix a problem I introduced
by Gavin Howard
· 6 years ago
0da1775
Suppress printing of trailing zeroes of fractional parts of a result
by Stefan Esser
· 6 years ago
610a8ee
Fix printing of the decimal point (occured multiple times)
by Stefan Esser
· 6 years ago
bf3b1b2
Remove obsolete local variables
by Stefan Esser
· 6 years ago
a343055
Remove duplicate definitioon of DUMP_NUM
by Stefan Esser
· 6 years ago
887d6b9
Use bc_num_set instead of memset in merged code
by Stefan Esser
· 6 years ago
14eff46
Merge branch 'base9' of https://github.com/gavinhoward/bc into d9
by Stefan Esser
· 6 years ago
5fd43a3
Modify malloc and realloc functions to operate on BcDig arrays
by Stefan Esser
· 6 years ago
394a516
Introduce 3 function to perform memcpy, memmove, and memset on arrays of BcDig
by Stefan Esser
· 6 years ago
d7e4d6e
Fix a bit of code that is not portable to 8-bit arches
by Gavin Howard
· 6 years ago
0700efc
Attempt to make Stefan's work more portable
by Gavin Howard
· 6 years ago
4b111c2
Commit an adjusted patch sent to me by Stefan Eßer
by Stefan Eßer
· 6 years ago
a299ffc
Initial support for 32 bit integers instead of decimal digits to represent numbers
by Stefan Esser
· 6 years ago
14c354a
Speed up multiplication some more
by Gavin Howard
· 6 years ago
55c8f73
Add a debug print procedure
by Gavin Howard
· 6 years ago
88e2e63
Remove an assert
by Gavin Howard
· 6 years ago
977767f
Change a cast
by Gavin Howard
· 6 years ago
5722302
Prevent realloc's in bc_num_k()
by Gavin Howard
· 6 years ago
12a7cd2
Reduce load pressure a tiny bit
by Gavin Howard
· 6 years ago
5083aec
Add an optimization idea from GNU bc
by Gavin Howard
· 6 years ago
b538d80
Optimize multiply a bit more
by Gavin Howard
· 6 years ago
05feab0
Fix a bit of style
by Gavin Howard
· 6 years ago
530e307
Add a #define
by Gavin Howard
· 6 years ago
dc4e371
Take bc_num_shiftRight() out of extra math only
by Gavin Howard
· 6 years ago
49ea7b6
Move a declaration
by Gavin Howard
· 6 years ago
14913fc
Optimize multiplication a bit
by Gavin Howard
· 6 years ago
489cd16
Improve performance of multiply a bit
by Gavin Howard
· 6 years ago
f2ee634
Fix an obscure bug that only happens on SIGINT
by Gavin Howard
· 6 years ago
cf0748d
Fix an obscure memory leak
by Gavin Howard
· 6 years ago
7345cb9
Change all of the license headers
by Gavin Howard
· 6 years ago
87c29c7
Fix the assert better
by Gavin Howard
· 6 years ago
f1b2e40
Fix a bad assert
by Gavin Howard
· 6 years ago
5a78839
Fix an infinite loop
by Gavin Howard
· 6 years ago
e043250
Fix a invalid realloc() error
by Gavin Howard
· 6 years ago
e97ae92
Add size_t's for the globals
by Gavin Howard
· 6 years ago
2d188a5
Style fixes
by Gavin Howard
· 6 years ago
007afdf
Rename a procedure
by Gavin Howard
· 6 years ago
e5f11c7
Reverse the condition on BC_NO_ERR()
by Gavin Howard
· 6 years ago
5bede41
Revert "Revert "Reduce allocations in bc_num_k()""
by Gavin Howard
· 6 years ago
ecafd4f
Revert "Revert "Add branch hints for gcc and clang""
by Gavin Howard
· 6 years ago
c78e752
Rename a #define
by Gavin Howard
· 6 years ago
93873cc
Revert "Add branch hints for gcc and clang"
by Gavin Howard
· 6 years ago
1c30b5d
Revert "Reduce allocations in bc_num_k()"
by Gavin Howard
· 6 years ago
b5537e0
Reduce allocations in bc_num_k()
by Gavin Howard
· 6 years ago
8bc82b9
Add branch hints for gcc and clang
by Gavin Howard
· 6 years ago
Next »