"bc, for basic calculator, is "an arbitrary-precision calculator language" with syntax similar to the C programming language. bc is typically used as either a mathematical scripting language or as an interactive mathematical shell." Quote: Wikipedia, https://en.wikipedia.org/wiki/Bc_(programming_language)
Further Information: https://gnuwin32.sourceforge.net/packages/bc.htm https://www.gnu.org/software/bc/
To use in "R" see ggrothendiecks repositories: https://github.com/ggrothendieck/r-bc?tab=readme-ov-file https://github.com/ggrothendieck/batchfiles