HF RL Explorer

Create a command-line utility /app/fixcalc that performs arithmetic operations on decimal numbers with…

Create a command-line utility /app/fixcalc that performs arithmetic operations on decimal numbers with…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Numbers may be in any of these formats: plain decimals (e.g., 3.14 , -0.001 ), scientific notation (e.g., 1.5e-2…

The task

Numbers may be in any of these formats: plain decimals (e.g., `3.14`, `-0.001`), scientific notation (e.g., `1.5e-2`, `-2E3`), or plain integers. The tool must parse them correctly, perform the operation left-to-right maintaining full intermediate precision, and output the final result rounded to the specified…

Part of ai-and/termgrade-environments.