The following yields a floating point exception:
$ cat << 'EOF' >> test.ldg P 2018/01/01 20:00:00 VTSMX $0.0000 2018-01-01 Gas Expenses:Car:Gas $5.97 Assets:Cash (Expenses:Taxes:Gas) (3.00 * $0.384) EOF $ ledger -f test.ldg --market reg Floating point exception: 8 $ This is on MacOS 10.13.3 with the latest ledger built from HEAD. This seems to be a weird combination of factors, with any of these changes fixing the problem: - Remove the --market flag from the invocation - Run bal instead of reg - Change the price from $0.0000 to anything non-zero - Comment out the virtual posting in the transaction This file seems to be valid, though, so it'd be nice to fix the underlying cause of the fpe. -Hyrum -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.