Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_polyfills.cpp
Go to the documentation of this file.
1
/*
2
* Created by Martin on 17/11/2017.
3
*
4
* Distributed under the Boost Software License, Version 1.0. (See accompanying
5
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
*/
7
8
#include "
catch_polyfills.hpp
"
9
10
#include <cmath>
11
12
namespace
Catch
{
13
14
#if !defined(CATCH_CONFIG_POLYFILL_ISNAN)
15
bool
isnan
(
float
f
) {
16
return
std::isnan(
f
);
17
}
18
bool
isnan
(
double
d) {
19
return
std::isnan(
d
);
20
}
21
#else
22
// For now we only use this for embarcadero
23
bool
isnan
(
float
f
) {
24
return
std::_isnan(
f
);
25
}
26
bool
isnan
(
double
d) {
27
return
std::_isnan(d);
28
}
29
#endif
30
31
}
// end namespace Catch
f
foo f
Definition
X02-DisabledMacros.cpp:25
catch_polyfills.hpp
Catch
Definition
231-Cfg-OutputStreams.cpp:32
Catch::isnan
bool isnan(float f)
Definition
catch_polyfills.cpp:15
d
CK_ULONG d
Definition
yubihsm_pkcs11.c:1238
libraries
sys-vm
external
Catch2
include
internal
catch_polyfills.cpp
Generated by
1.12.0