From: Serge Petrenko <sergepetrenko@tarantool.org> To: Chris Sosnin <k.sosnin@tarantool.org>, tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org Subject: Re: [Tarantool-patches] [PATCH v2 0/2] decNumber utilites for SQL Date: Fri, 26 Jun 2020 13:57:33 +0300 [thread overview] Message-ID: <4bde784c-ff6a-a6d9-2faf-c847d752971b@tarantool.org> (raw) In-Reply-To: <cover.1593017012.git.k.sosnin@tarantool.org> 24.06.2020 19:53, Chris Sosnin пишет: > Changes in v2: > - Instead of skipping whitespaces, allow FromString to parse > valid beginning of the string and return pointer to the next > character. Thus, we can check for whitespaces ourselves. > This also requires lib/core changes: either pass a pointer > to decimal_from_string and check for '\0' after every use, or > refactor it so it works the same way and introduce something like strtodec. > - Rename decIsWhole -> decIsInt. > > branch: https://github.com/tarantool/decNumber/tree/ksosnin/utilities-for-sql > related issue: https://github.com/tarantool/tarantool/issues/4415 LGTM > > Chris Sosnin (2): > Refactor decNumberFromString > Add IsInt method for checking the fractional part of a number > > decNumber.c | 46 ++++++++++++++++++++++++++++++++++++++-------- > decNumber.h | 27 ++++++++++++++------------- > 2 files changed, 52 insertions(+), 21 deletions(-) > -- Serge Petrenko
prev parent reply other threads:[~2020-06-26 10:57 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-24 16:53 Chris Sosnin 2020-06-24 16:53 ` [Tarantool-patches] [PATCH v2 1/2] Refactor decNumberFromString Chris Sosnin 2020-06-24 22:22 ` Vladislav Shpilevoy 2020-06-25 14:21 ` Chris Sosnin 2020-06-24 16:53 ` [Tarantool-patches] [PATCH v2 2/2] Add IsInt method for checking the fractional part of a number Chris Sosnin 2020-06-24 22:23 ` Vladislav Shpilevoy 2020-06-25 14:22 ` Chris Sosnin 2020-06-25 21:04 ` [Tarantool-patches] [PATCH v2 0/2] decNumber utilites for SQL Vladislav Shpilevoy 2020-06-26 10:57 ` 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=4bde784c-ff6a-a6d9-2faf-c847d752971b@tarantool.org \ --to=sergepetrenko@tarantool.org \ --cc=k.sosnin@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v2 0/2] decNumber utilites for SQL' \ /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