mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Spacing fixes
This commit is contained in:
parent
88b21a72f1
commit
7993909fab
31 changed files with 82 additions and 83 deletions
|
@ -39,7 +39,7 @@ f32 u32Tof32Slow(u32 i)
|
|||
if (exp == 0xFF) {
|
||||
// Inf/NaN
|
||||
if (imant == 0) {
|
||||
if (std::numeric_limits<f32>::has_infinity)
|
||||
if (std::numeric_limits<f32>::has_infinity)
|
||||
return sign ? -std::numeric_limits<f32>::infinity() :
|
||||
std::numeric_limits<f32>::infinity();
|
||||
return sign ? std::numeric_limits<f32>::max() :
|
||||
|
|
|
@ -410,7 +410,7 @@ DEFINE_STD_TOSTRING_FLOATINGPOINT(long double)
|
|||
template <typename T>
|
||||
inline wstring to_wstring(T val)
|
||||
{
|
||||
return utf8_to_wide(to_string(val));
|
||||
return utf8_to_wide(to_string(val));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue