/usr/include/cln/sfloat_class.h is in libcln-dev 1.3.3-1ubuntu1.
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 40 41 42 43 44 45 | // Concrete class of short float numbers.
#ifndef _CL_SFLOAT_CLASS_H
#define _CL_SFLOAT_CLASS_H
#include "cln/number.h"
#include "cln/float_class.h"
namespace cln {
class cl_SF : public cl_F {
public:
// Default constructor.
cl_SF ();
// Assignment operators.
cl_SF& operator= (const cl_SF&);
// Optimization of method pointer_p().
bool pointer_p() const
{ return false; }
// Faster pointer_p() gives a faster copy constructor (but not destructor!!!).
cl_SF (const cl_SF& x);
// Other constructors.
cl_SF (const char *);
// Private constructor.
cl_SF (cl_private_thing);
cl_SF (struct cl_sfloat * /* NULL! */, cl_uint);
public: // Ability to place an object at a given address.
void* operator new (size_t size) { return malloc_hook(size); }
void* operator new (size_t size, void* ptr) { (void)size; return ptr; }
void operator delete (void* ptr) { free_hook(ptr); }
};
// Private constructors.
inline cl_SF::cl_SF (cl_private_thing ptr) : cl_F (ptr) {}
// The assignment operators:
CL_DEFINE_ASSIGNMENT_OPERATOR(cl_SF, cl_SF)
// The default constructors.
inline cl_SF::cl_SF ()
: cl_F ((cl_private_thing) cl_combine(cl_SF_tag,0)) {}
// The copy constructors.
CL_DEFINE_COPY_CONSTRUCTOR2(cl_SF,cl_F)
} // namespace cln
#endif /* _CL_SFLOAT_CLASS_H */
|