// plusp().
// General includes.
#include "cl_sysdep.h"
// Specification.
#include "cln/ffloat.h"
// Implementation.
#include "cl_FF.h"
#undef MAYBE_INLINE
#define MAYBE_INLINE inline
#include "cl_FF_minusp.cc"
#include "cl_FF_zerop.cc"
namespace cln {
MAYBE_INLINE2
cl_boolean plusp (const cl_FF& x)
{
if (minusp(x))
return cl_false; // x<0 -> nein
elif (zerop(x))
return cl_false; // x=0 -> nein
else
return cl_true; // sonst ist x>0.
}
} // namespace cln