You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
459 B
33 lines
459 B
// zerop().
|
|
|
|
// General includes.
|
|
#include "cl_sysdep.h"
|
|
|
|
// Specification.
|
|
#include "cln/float.h"
|
|
|
|
|
|
// Implementation.
|
|
|
|
#include "cl_F.h"
|
|
|
|
#undef MAYBE_INLINE
|
|
#define MAYBE_INLINE inline
|
|
#include "cl_SF_zerop.cc"
|
|
#include "cl_FF_zerop.cc"
|
|
#include "cl_DF_zerop.cc"
|
|
#include "cl_LF_zerop.cc"
|
|
|
|
namespace cln {
|
|
|
|
bool zerop (const cl_F& x)
|
|
{
|
|
floatcase(x
|
|
, return zerop(x);
|
|
, return zerop(x);
|
|
, return zerop(x);
|
|
, return zerop(x);
|
|
);
|
|
}
|
|
|
|
} // namespace cln
|