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

EduardSergeev / fixed-decimal / 9441697304
96%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2024 02:50AM UTC
Jobs 1
Files 2
Run time 1min
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

10 Jun 2024 02:42AM UTC coverage: 80.0% (-17.5%) from 97.5%
9441697304

push

github

web-flow
Generic `Decimal` implementation (#5)

- Expose `Decimal (p :: Type) (s :: Nat)` type to be used directly:  
  - Use any `Integral` type (e.g. `Int`, [Int256](https://hackage.haskell.org/package/data-dword-0.3.2.1/docs/Data-DoubleWord.html#t:Int256) or unsigned [Word196](https://hackage.haskell.org/package/data-dword-0.3.2.1/docs/Data-DoubleWord.html#t:Word192)) as `p` parameter to store mantissa;
  - Specify fractional part length (scale) via type-level number passed as `s` parameter.  
  
  Example: `Decimal Int256 15`

4 of 8 branches covered (50.0%)

Branch coverage included in aggregate %.

28 of 32 new or added lines in 1 file covered. (87.5%)

28 of 32 relevant lines covered (87.5%)

10685.63 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
80.0
src/Data/Fixed/Decimal.hs
Jobs
ID Job ID Ran Files Coverage
1 9441697304.1 10 Jun 2024 02:50AM UTC 2
80.0
GitHub Action Run
Source Files on build 9441697304
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 95548342 on github
  • Prev Build on master (#9428527288)
  • Next Build on master (#9446373860)
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