HF RL Explorer

Implement a command-line tool /app/fxcalc that performs fixed-point arithmetic and string formatting of…

Implement a command-line tool /app/fxcalc that performs fixed-point arithmetic and string formatting of…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input file format (the file path is the first CLI argument): - Lines are separated by LF ( \n ). The last line…

The task

**Input file format** (the file path is the first CLI argument): - Lines are separated by LF (`\n`). The last line may or may not end with a trailing newline. - Empty lines (including lines with only whitespace) must be ignored. - Lines starting with `#` (possibly indented with spaces/tabs) are comments and must be…

Part of ai-and/termgrade-environments.