all repos

clerk @ olex/oxrnnk

missing tooling for ledger/hledger

clerk/journal/testdata/journals/actual-ledger-input-divzero.dat (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
journal: refactor compatibility test runner, 14 days ago
1
; source: ledger/test/fuzz/corpus/input_divzero.dat
2
; -*- ledger -*-
3
; Time-stamp: <2011-11-22 13:59 (cpearls)>
4
5
;  this journal file will cause a divide by zero error.  The divide by
6
;  zero goes away if you add a significant figure to any of the last
7
;  divisors in either transaction ( "10.74" -> "10.740" )
8
9
2011/04/05 * VSGBX Dividend
10
    Assets:Investments:401K:Matching    ( (1.0/3.0)*0.11/10.74 VSGBX) ; 0.003414
11
    Assets:Investments:401K:Deferred    ( (2.0/3.0)*0.11/10.74 VSGBX) ; 0.006828
12
    Income:Exempt:Dividends                $-0.11