Create a command-line tool /usr/local/bin/fixcalc that performs arithmetic on fixed-point decimal numbers…
Create a command-line tool /usr/local/bin/fixcalc that performs arithmetic on fixed-point decimal numbers…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input contract: - The tool reads from stdin, one operation…
The task
**Input contract:** - The tool reads from stdin, one operation per line. - Each line has format: `OPERAND1,OPERAND2,OPERATION,SCALE,ROUNDING_MODE` - Empty lines are ignored. - Lines starting with `#` are comments and ignored. - Whitespace around fields is NOT trimmed (exact match only).