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