diff --git a/CMakeLists.txt b/CMakeLists.txt index c9f6bff..b045622 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.5) include(cmake/color.cmake) -set(BLT_VERSION 0.15.12) +set(BLT_VERSION 0.16.0) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/math/fixed_point.h b/include/blt/math/fixed_point.h new file mode 100644 index 0000000..113756d --- /dev/null +++ b/include/blt/math/fixed_point.h @@ -0,0 +1,27 @@ +/* + * + * Copyright (C) 2024 Brett Terpstra + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef BLT_FIXED_POINT_H +#define BLT_FIXED_POINT_H + +namespace blt +{ + +} + +#endif //BLT_FIXED_POINT_H diff --git a/libraries/parallel-hashmap b/libraries/parallel-hashmap index 67c2461..946ebad 160000 --- a/libraries/parallel-hashmap +++ b/libraries/parallel-hashmap @@ -1 +1 @@ -Subproject commit 67c24619e4f5ab2097b74cc397732c17a25d6944 +Subproject commit 946ebad67a21212d11a0dd4deb7cdedc297d47bc diff --git a/src/blt/math/math.cpp b/src/blt/math/math.cpp new file mode 100644 index 0000000..7001c36 --- /dev/null +++ b/src/blt/math/math.cpp @@ -0,0 +1,18 @@ +/* + * + * Copyright (C) 2024 Brett Terpstra + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include \ No newline at end of file diff --git a/tests/include/blt_tests.h b/tests/include/blt_tests.h index 81702e1..a199749 100644 --- a/tests/include/blt_tests.h +++ b/tests/include/blt_tests.h @@ -37,6 +37,7 @@ namespace blt::test } void vector_run(); + void fixed_point(); } #endif //BLT_BLT_TESTS_H diff --git a/tests/src/main.cpp b/tests/src/main.cpp index b12d587..97fbf9b 100644 --- a/tests/src/main.cpp +++ b/tests/src/main.cpp @@ -107,6 +107,9 @@ int main(int argc, const char** argv) if (args.contains("--vector")) blt::test::vector_run(); + if (args.contains("--fixed_point")) + blt::test::fixed_point(); + if (args.contains("--nbt")) { auto v = blt::arg_parse::get(args["nbt"]); diff --git a/tests/src/math_tests.cpp b/tests/src/math_tests.cpp new file mode 100644 index 0000000..db5fa0a --- /dev/null +++ b/tests/src/math_tests.cpp @@ -0,0 +1,28 @@ +/* + * + * Copyright (C) 2024 Brett Terpstra + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include + +namespace blt::test +{ + + void fixed_point() + { + + } + +} \ No newline at end of file