I've tracked a bug in my code down to the problem of adding two numbers together, with the left argument having machine precision, e.g by 3`
. The issue is, if there is no space between the two numbers, then the addition acts on the precision of the number and not the number itself. For example,
3`+2
produces 3.0
instead of 5.
.
additionally, if we specify a numerical value for the precision, we get the correct result with specified precision:
3`2+2
produces 5.00
There is no space between the two arguments and the addition sign. If we add spaces:
3`+ 2
produces 5.
3` + 2
produces 5.
This possible bug caused me a big headache in my code. Is there a way to globally remove this from the notebook so that I get the expected result from, e.g. 3`+2=5.
? I couldnt find anything in the documentation regarding this issue.
Some possibly relevant information:
My mathematica version is Version 13.0.1 for Linux x86 (64-bit)
Precedence[Precision]==670.
andPrecedence[Plus]==310.
, so an ambiguously entered input expression gives precedence to the backtick precedence rather than the +. $\endgroup$number`s
wheres
may be a decimal real number or integer. $\endgroup$