First commit

This commit is contained in:
2026-04-08 20:11:20 +02:00
parent 10fe469c10
commit 79f15536a1
861 changed files with 135610 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include <limits>
#include "calc.h"
float add(float a, float b) {
return a + b;
}
float sub(float a, float b) {
return a - b;
}
float mul(float a, float b) {
return a * b;
}
float div(float a, float b) {
if (b != 0) {
return a / b;
}
return std::numeric_limits<double>::infinity();
}