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

andygrove / sqlparser-rs / 410
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: fuzz
DEFAULT BRANCH: master
Ran 08 Jul 2019 06:35PM UTC
Jobs 1
Files 18
Run time 3s
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

pending completion
410

push

travis-ci

benesch
Don't lose precision when parsing decimal fractions

The SQL standard requires that numeric literals with a decimal point,
like 1.23, are represented exactly, up to some precision. That means
that parsing these literals into f64s is invalid, as it is impossible
to represent many decimal numbers exactly in binary floating point (for
example, 0.3).

This commit instead parses these literals into a big decimal type that
is capable of representing every decimal fraction exactly. Downstream
consumers can lower this representation into something more efficient
but less precise (like the old f64) if desired.

4347 of 4696 relevant lines covered (92.57%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 410.1 08 Jul 2019 06:35PM UTC 0
92.57
Travis Job 410.1
Source Files on build 410
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #410
  • 594e01c6 on github
  • Next Build on decimal (#441)
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