[Tarantool-patches] [PATCH v1 1/1] sql: fix cast of small negative DOUBLE to INTEGER

Vitaliia Ioffe v.ioffe at tarantool.org
Wed Aug 4 18:07:12 MSK 2021


Hi team, 
 
QA LGTM!
 
 
--
Vitaliia Ioffe
 
  
>Среда, 4 августа 2021, 17:02 +03:00 от Kirill Yukhin via Tarantool-patches <tarantool-patches at dev.tarantool.org>:
> 
>Hello,
>
>On 04 авг 11:24,  imeevma at tarantool.org wrote:
>> Prior to this patch when DOUBLE value that less than 0.0 and greater
>> than -1.0 was cast to INTEGER, it was considered to be negative number
>> though the result was 0. This patch fixes this, so now such DOUBLE
>> value will be properly cast to INTEGER and UNSIGNED.
>>
>> Closes #6225
>> ---
>>  https://github.com/tarantool/tarantool/issues/6225
>>  https://github.com/tarantool/tarantool/tree/imeevma/gh-6225-cast-of-small-negative-double-to-int
>The patch LGTM.
>
>--
>Regards, Kirill Yukhin
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20210804/d671a8ec/attachment.htm>


More information about the Tarantool-patches mailing list