[tarantool-patches] Re: [PATCH 0/2] Introduce decimal type to tarantool core.

Serge Petrenko sergepetrenko at tarantool.org
Thu Apr 18 20:20:53 MSK 2019


Sorry, forgot to attach issue and branch.
https://github.com/tarantool/tarantool/issues/692 <https://github.com/tarantool/tarantool/issues/692>
https://github.com/tarantool/tarantool/tree/sp/gh-692-introduce-decimal <https://github.com/tarantool/tarantool/tree/sp/gh-692-introduce-decimal>

> 18 апр. 2019 г., в 20:16, Serge Petrenko <sergepetrenko at tarantool.org> написал(а):
> 
> This patchset adds a new type, decimal fixed-point, to tarantool.
> 
> The first patch adds decNumber library as a submodule.
> The second patch adds a small wrapper to the library to make it work
> with fixed-point decimal values, and adds a unit test.
> 
> Serge Petrenko (2):
>  third-party: add decNumber library
>  lib/core: introduce decimal type to tarantool
> 
> .gitmodules                 |   3 +
> CMakeLists.txt              |   7 +
> cmake/BuildDecNumber.cmake  |  13 ++
> src/CMakeLists.txt          |   1 +
> src/lib/core/CMakeLists.txt |   3 +-
> src/lib/core/decimal.c      | 392 ++++++++++++++++++++++++++++++++++++
> src/lib/core/decimal.h      | 101 ++++++++++
> test/unit/CMakeLists.txt    |   2 +
> test/unit/decimal.c         | 173 ++++++++++++++++
> test/unit/decimal.result    |  53 +++++
> third_party/decNumber       |   1 +
> 11 files changed, 748 insertions(+), 1 deletion(-)
> create mode 100644 cmake/BuildDecNumber.cmake
> create mode 100644 src/lib/core/decimal.c
> create mode 100644 src/lib/core/decimal.h
> create mode 100644 test/unit/decimal.c
> create mode 100644 test/unit/decimal.result
> create mode 160000 third_party/decNumber
> 
> -- 
> 2.20.1 (Apple Git-117)
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20190418/822b5c7d/attachment.html>


More information about the Tarantool-patches mailing list