/usr/include/qd/fpu.h is in libqd-dev 2.3.11.dfsg-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /*
* include/fpu.h
*
* This work was supported by the Director, Office of Science, Division
* of Mathematical, Information, and Computational Sciences of the
* U.S. Department of Energy under contract number DE-AC03-76SF00098.
*
* Copyright (c) 2001
*
* Contains functions to set and restore the round-to-double flag in the
* control word of a x86 FPU. The algorithms in the double-double and
* quad-double package does not function with the extended mode found in
* these FPU.
*/
#ifndef _QD_FPU_H
#define _QD_FPU_H
#include <qd/qd_config.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Set the round-to-double flag, and save the old control word in old_cw.
* If old_cw is NULL, the old control word is not saved.
*/
QD_API void fpu_fix_start(unsigned int *old_cw);
/*
* Restore the control word.
*/
QD_API void fpu_fix_end(unsigned int *old_cw);
#ifdef __cplusplus
}
#endif
#endif /* _QD_FPU_H */
|