• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 6731064488 / 1
88%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/ci-perf-install-conditionally-lua-cjson
DEFAULT BRANCH: tarantool/master
Ran 02 Nov 2023 10:09AM UTC
Files 89
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Nov 2023 10:01AM UTC coverage: 88.27% (+0.2%) from 88.113%
6731064488.1

push

github

Buristan
x86/x64: Fix math.ceil(-0.9) result sign.

Reported by minoki.

(cherry-picked from commit 674afcd4e)

`ceil` (`floor`) math function implementation calculates (|x| + 2^52) -
2^52 for its argument to determine fractional part of x , so it will be
rounded to nearest integer and its sign is restored. After that if the
original value is < (>), than the result the -1 (1) is substracted from
it. Take a look at the `ceil()` case. The result of the operation `-1 -
(-1)` is +0 for FP arithmetic against -0 expected as a result.

This patch changes the `- (-1)` operation to `+ 1` and restores sign
after it again.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#9145

5341 of 5972 branches covered (0.0%)

Branch coverage included in aggregate %.

20494 of 23296 relevant lines covered (87.97%)

2748700.32 hits per line

Source Files on job 6731064488.1
  • Tree
  • List 0
  • Changed 86
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6731064488
  • 2db2772e on github
  • Prev Job for on skaplun/lj-859-math-ceil-sign (#6707697594.1)
  • Next Job for on skaplun/lj-859-math-ceil-sign (#6731484288.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc