sulami/literate-calc-mode.el

The calculation oder is wrong

Opened this issue · 3 comments

Like this:

2

Multiplication and division have the same calculation priotiry, so it should gives 16 even without explicit parentheses, but it seems multiplications are calculated first then the division...

@sulami I found the solution (setq calc-multiplication-has-precedence nil),
calc-mode gives ‘/’ lower precedence than ‘*’ . Wired default... but I guess this can be closed then.