From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5F3AF27A5F for ; Thu, 18 Apr 2019 13:20:56 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P-zKHMG-_5jH for ; Thu, 18 Apr 2019 13:20:56 -0400 (EDT) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 0D8E8272ED for ; Thu, 18 Apr 2019 13:20:55 -0400 (EDT) From: Serge Petrenko Message-Id: <0791A4E4-E814-4967-8B4A-A226BE9F1FAB@tarantool.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_1FF88985-02F8-4C53-8125-70A5669FDE06" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: [tarantool-patches] Re: [PATCH 0/2] Introduce decimal type to tarantool core. Date: Thu, 18 Apr 2019 20:20:53 +0300 In-Reply-To: References: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: Georgy Kirichenko Cc: tarantool-patches@freelists.org --Apple-Mail=_1FF88985-02F8-4C53-8125-70A5669FDE06 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Sorry, forgot to attach issue and branch. https://github.com/tarantool/tarantool/issues/692 = https://github.com/tarantool/tarantool/tree/sp/gh-692-introduce-decimal = > 18 =D0=B0=D0=BF=D1=80. 2019 =D0=B3., =D0=B2 20:16, Serge Petrenko = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0= =B0): >=20 > This patchset adds a new type, decimal fixed-point, to tarantool. >=20 > 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. >=20 > Serge Petrenko (2): > third-party: add decNumber library > lib/core: introduce decimal type to tarantool >=20 > .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 >=20 > --=20 > 2.20.1 (Apple Git-117) >=20 >=20 --Apple-Mail=_1FF88985-02F8-4C53-8125-70A5669FDE06 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Sorry, forgot to attach issue and branch.https://github.com/tarantool/tarantool/tree/sp/gh-692-introduce= -decimal

18 =D0=B0=D0=BF=D1=80. 2019 = =D0=B3., =D0=B2 20:16, Serge Petrenko <sergepetrenko@tarantool.org> = =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0):

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 =             &n= bsp;   |   3 +
CMakeLists.txt =             &n= bsp;|   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)



= --Apple-Mail=_1FF88985-02F8-4C53-8125-70A5669FDE06--