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

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

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

08 Jul 2019 06:30PM UTC coverage: 92.568% (+0.02%) from 92.549%
411.1

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

4347 of 4696 relevant lines covered (92.57%)

0.93 hits per line

Source Files on job 411.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 336
  • Travis Job 411.1
  • 1f66ebb2 on github
  • Prev Job for on decimal (#405.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