31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

int Sign(const floatf & f)<br />

4. Implementation<br />

as described above.<br />

A floatf is represented by a double (its value) and an error bound. An operation on<br />

floatfs performs the corresponding operation on the values and also computes the error<br />

bound for the result. For this reason the cost of a floatf operation is about four times<br />

the cost of the corresponding operation on doubles. <strong>The</strong> rules used to compute the error<br />

bounds are described in ([65]).<br />

5. Example<br />

see [65] for an application in a sweep line algorithm.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!