Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename memory.c to mpalloc.c for consistency with the header file. (#14687) | Stefan Krah | 2019-07-10 | 1 | -297/+0 |
| | |||||
* | Issue #26846: Workaround for non-standard stdlib.h on Android. | Stefan Krah | 2016-04-25 | 1 | -1/+1 |
| | |||||
* | Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior). | Stefan Krah | 2016-01-17 | 1 | -0/+5 |
| | |||||
* | Update copyright. The four year increment is intentional (to save work). | Stefan Krah | 2013-12-08 | 1 | -1/+1 |
| | |||||
* | 1) Remove claim of an input invariant that is only true for static mpd_t. | Stefan Krah | 2012-04-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Resizing is used _inside_ libmpdec functions, and it is permitted to change x->alloc several times while setting x->len at the end of the function. Therefore, for dynamic mpd_t x->alloc can _temporarily_ drop below x->len. Of course the final result always has x->len <= x->alloc. For static mpd_t this cannot happen, since resizing to a smaller coefficient is a no-op. 2) Remove micro optimization in mpd_switch_to_dyn(): Previously only the valid initialized part of the existing coefficient up to x->len was copied to the new dynamic memory area. Now copying does the same as realloc() and the entire old memory area is copied. The rationale for this change is that it is no longer needed to memorize the explanation given in 1). | ||||
* | Issue #7652: Integrate the decimal floating point libmpdec library to speed | Stefan Krah | 2012-03-21 | 1 | -0/+292 |
up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application. |