Tarantool development patches archive
 help / color / mirror / Atom feed
From: Serge Petrenko <sergepetrenko@tarantool.org>
To: Georgy Kirichenko <georgy@tarantool.org>
Cc: tarantool-patches@freelists.org
Subject: [tarantool-patches] Re: [PATCH 0/2] Introduce decimal type to tarantool core.
Date: Thu, 18 Apr 2019 20:20:53 +0300	[thread overview]
Message-ID: <0791A4E4-E814-4967-8B4A-A226BE9F1FAB@tarantool.org> (raw)
In-Reply-To: <cover.1555607573.git.sergepetrenko@tarantool.org>

[-- Attachment #1: Type: text/plain, Size: 1646 bytes --]

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@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)
> 
> 


[-- Attachment #2: Type: text/html, Size: 2920 bytes --]

      parent reply	other threads:[~2019-04-18 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-18 17:16 [tarantool-patches] " Serge Petrenko
2019-04-18 17:16 ` [tarantool-patches] [PATCH 1/2] third-party: add decNumber library Serge Petrenko
2019-04-18 17:16 ` [tarantool-patches] [PATCH 2/2] lib/core: introduce decimal type to tarantool Serge Petrenko
2019-04-18 17:20 ` Serge Petrenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0791A4E4-E814-4967-8B4A-A226BE9F1FAB@tarantool.org \
    --to=sergepetrenko@tarantool.org \
    --cc=georgy@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH 0/2] Introduce decimal type to tarantool core.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox