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

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

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

Pull #130

travis-ci

web-flow
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.
Pull Request #130: Don't lose precision when parsing decimal fractions

16 of 16 new or added lines in 3 files covered. (100.0%)

4347 of 4696 relevant lines covered (92.57%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 411.1 08 Jul 2019 06:36PM UTC 0
92.57
Travis Job 411.1
Source Files on build 411
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #411
  • Pull Request #130
  • PR Base - master (#405)
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