1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00
luanti/src/util/ieee_float.h

20 lines
344 B
C
Raw Normal View History

// Luanti
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2018 SmallJoker <mk939@ymail.com>
2018-12-13 11:20:57 +01:00
#pragma once
#include "irrlichttypes.h"
enum FloatType
{
FLOATTYPE_UNKNOWN,
FLOATTYPE_SLOW,
FLOATTYPE_SYSTEM
};
[[nodiscard]] f32 u32Tof32Slow(u32 i);
[[nodiscard]] u32 f32Tou32Slow(f32 f);
2018-12-13 11:20:57 +01:00
FloatType getFloatSerializationType();