LF line endings
Basic, Vector, VectorF16 and VectorF32 were stored with CRLF; convert them to LF like the rest of the tree. No other change to their content. .gitattributes keeps text files LF from here on. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
02af551776
commit
751a896d10
5 changed files with 4023 additions and 4022 deletions
|
|
@ -1,18 +1,18 @@
|
|||
//SPDX-License-Identifier: LGPL-3.0-only
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
export module Crafter.Math:Basic;
|
||||
import std;
|
||||
import :VectorF32;
|
||||
|
||||
namespace Crafter {
|
||||
template<typename T>
|
||||
constexpr T ToRadian(T degrees) {
|
||||
return degrees * (std::numbers::pi / 180);
|
||||
}
|
||||
|
||||
#if (defined(__x86_64) && !defined(__AVX512FP16__)) || defined(__riscv_vector) || !defined(__FLT16_MAX__)
|
||||
export template <std::uint32_t Len, std::uint32_t Packing>
|
||||
using VectorF16 = VectorF32<Len, Packing>;
|
||||
#endif
|
||||
//SPDX-License-Identifier: LGPL-3.0-only
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
export module Crafter.Math:Basic;
|
||||
import std;
|
||||
import :VectorF32;
|
||||
|
||||
namespace Crafter {
|
||||
template<typename T>
|
||||
constexpr T ToRadian(T degrees) {
|
||||
return degrees * (std::numbers::pi / 180);
|
||||
}
|
||||
|
||||
#if (defined(__x86_64) && !defined(__AVX512FP16__)) || defined(__riscv_vector) || !defined(__FLT16_MAX__)
|
||||
export template <std::uint32_t Len, std::uint32_t Packing>
|
||||
using VectorF16 = VectorF32<Len, Packing>;
|
||||
#endif
|
||||
}
|
||||
Loading…
Reference in a new issue