Answer by Tobias for Treat all numbers as floats
For numeric calculation there is a parallel universe within Elisp: Calc.The division operator / within defmath works with the floating numbers of Calc.Nevertheless, the interface of Calc with the Elisp...
View ArticleAnswer by Tobias for Treat all numbers as floats
The following Elisp code demonstrates how you can define your own wrapper macro with-float/that treats all explicit occurences of / in its body as division of floats.Division operators that are used in...
View ArticleTreat all numbers as floats
Is there a way to get elisp to automatically treat all numeric variables as floating points without having to repeatedly use the float function?For example to a division function that outputs the...
View Article
More Pages to Explore .....