- Updated Coding Standards and adjusted code to fit.

- Restructured test for organization purposes
This commit is contained in:
2025-06-12 13:03:50 -04:00
parent b7e1b1ff62
commit e50cfb6e64
35 changed files with 384 additions and 163 deletions

View File

@@ -29,8 +29,8 @@
///
#ifndef CONDITIONAL_TYPES_H
#define CONDITIONAL_TYPES_H
#ifndef FENNEC_LANG_CONDITIONAL_TYPES_H
#define FENNEC_LANG_CONDITIONAL_TYPES_H
#include <fennec/lang/type_transforms.h>
#include <fennec/lang/types.h>
@@ -106,4 +106,4 @@ using detect_t
}
#endif //CONDITIONAL_TYPES_H
#endif // FENNEC_LANG_CONDITIONAL_TYPES_H

View File

@@ -29,7 +29,6 @@ namespace detail
{
// Nothing interesting to note here
template<typename> struct __is_void : false_type {};
template<> struct __is_void<void> : true_type {};

View File

@@ -27,6 +27,9 @@
///
///
#ifndef FENNEC_LANG_FLOAT_H
#define FENNEC_LANG_FLOAT_H
#include <fennec/memory/bits.h>
#define FLT_HAS_INFINITY 1
@@ -80,3 +83,5 @@
#define DBL_SIGNALING_NAN fennec::bit_cast<double>(0x7ff4000000000000l)
#define DBL_DENORM_MIN fennec::bit_cast<double>(0x1l)
#define DBL_ROUND_ERR fennec::bit_cast<double>(0x3fe0000000000000l)
#endif // FENNEC_LANG_FLOAT_H

View File

@@ -28,8 +28,8 @@
///
///
#ifndef LANG_H
#define LANG_H
#ifndef FENNEC_LANG_H
#define FENNEC_LANG_H
///
/// \page page_fennec_lang C++ Language Library
@@ -38,4 +38,4 @@
///
///
#endif //LANG_H
#endif // FENNEC_LANG_H

View File

@@ -28,8 +28,8 @@
///
///
#ifndef UTILITY_H
#define UTILITY_H
#ifndef FENNEC_LANG_UTILITY_H
#define FENNEC_LANG_UTILITY_H
#include <fennec/lang/type_transforms.h>
@@ -78,4 +78,4 @@ template<typename T> constexpr const remove_reference_t<T>& copy(T&& x) noexcept
}
#endif //UTILITY_H
#endif // FENNEC_LANG_UTILITY_H