// pi() liefert die Zahl pi im Default-Float-Format.
extern const cl_F pi (void);
-//CL_REQUIRE(cl_F_pi_var)
-
// sin(x) liefert den Sinus (sin x) eines Float x.
extern const cl_F sin (const cl_F& x);
// exp1() liefert die Zahl e = exp(1) im Default-Float-Format.
extern const cl_F exp1 (void);
-//CL_REQUIRE(cl_F_exp1_var)
-
// ln(x) liefert zu einem Float x>0 die Zahl ln(x).
extern const cl_F ln (const cl_F& x);
{ return random_F(default_random_state,n); }
-#ifdef WANT_OBFUSCATING_OPERATORS
// This could be optimized to use in-place operations.
inline cl_F& operator+= (cl_F& x, const cl_F& y) { return x = x + y; }
inline cl_F& operator+= (cl_F& x, const float y) { return x = x + y; }
inline cl_F& operator/= (cl_F& x, const cl_F& y) { return x = x / y; }
inline cl_F& operator/= (cl_F& x, const float y) { return x = x / y; }
inline cl_F& operator/= (cl_F& x, const double y) { return x = x / y; }
-#endif
// Thrown when a floating-point exception occurs.
class floating_point_exception : public runtime_exception {
};
-CL_REQUIRE(cl_ieee)
// If this is true, floating point underflow returns zero instead of throwing an exception.