Build a command-line tool fpcalc that performs arbitrary-precision fixed-point arithmetic. It reads a single…
Build a command-line tool fpcalc that performs arbitrary-precision fixed-point arithmetic. It reads a single…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Expression format: <left <operator <right - <left and…
The task
**Expression format:** ``` <left> <operator> <right> ``` - `<left>` and `<right>` are decimal numbers with optional sign, optional integer part, optional decimal point, and optional fractional part. - `<operator>` is one of: `+` `-` `*` `/` - Division `/` requires at least 20 fractional digits in the quotient. If the…