File indexing completed on 2026-05-19 08:08:32
0001
0002
0003 #ifndef _CL_SFLOAT_IO_H
0004 #define _CL_SFLOAT_IO_H
0005
0006 #include "cln/number_io.h"
0007 #include "cln/sfloat.h"
0008
0009 namespace cln {
0010
0011 inline std::istream& operator>> (std::istream& stream, cl_SF& result)
0012 {
0013 extern cl_read_flags cl_SF_read_flags;
0014 extern const cl_F read_float (std::istream&, const cl_read_flags&);
0015 result = As(cl_SF)(read_float(stream,cl_SF_read_flags));
0016 return stream;
0017 }
0018
0019
0020
0021 inline void fprint (std::ostream& stream, const cl_SF& x)
0022 {
0023 extern void print_float (std::ostream& stream, const cl_print_flags& flags, const cl_F& z);
0024 extern cl_print_flags default_print_flags;
0025 print_float(stream,default_print_flags,x);
0026 }
0027 CL_DEFINE_PRINT_OPERATOR(cl_SF)
0028
0029 }
0030
0031 #endif