4 #include "base/cl_sysdep.h"
7 #include "cln/ffloat.h"
12 #include "float/ffloat/cl_FF.h"
17 const cl_FF operator- (const cl_FF& x1, const cl_FF& x2)
20 float_to_FF(FF_to_float(x1) - FF_to_float(x2), return ,
21 TRUE, TRUE, // Overflow und subnormale Zahl abfangen
22 FALSE, // kein Underflow mit Ergebnis +/- 0.0 möglich
23 // (nach Definition der subnormalen Zahlen)
24 FALSE, FALSE // keine Singularität, kein NaN als Ergebnis möglich
27 var ffloat x2_ = cl_ffloat_value(x2);
28 if (FF_uexp(x2_) == 0)
31 { return x1 + allocate_ffloat(x2_ ^ bit(31)); }