Orrery
A GPU-accelerated N-body gravitational simulator
Loading...
Searching...
No Matches
build_info.hpp
Go to the documentation of this file.
1#pragma once
2
19
20#include <string_view>
21
22namespace orrery::core {
23
25[[nodiscard]] std::string_view version() noexcept;
26
29[[nodiscard]] bool uses_single_precision() noexcept;
30
31} // namespace orrery::core
bool uses_single_precision() noexcept
True when the build was configured with ORRERY_SINGLE_PRECISION, and the scalar type is therefore flo...
std::string_view version() noexcept
The project version, as declared in the top-level CMakeLists.txt.