You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Richard Kreckel 3eceee89a2 * Prepare imminent release: bump CL_REVISION and CL_VERSION_PATCHLEVEL. 20 years ago
..
.gdbinit Initial revision 25 years ago
FILES Initial revision 25 years ago
Makefile.in * src/base/cl_low.h: Added several checks if NO_ASM is defined, so 24 years ago
exam.cc * Change all C include headers to ISO style within C++ code. 21 years ago
exam.h * */*: Removed problematic stdin, stdout and stderr definitions. 24 years ago
exam_DF.cc Initial revision 25 years ago
exam_DF_div.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_DF_floor.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_DF_minus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_DF_mul.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_DF_plus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_FF.cc Initial revision 25 years ago
exam_FF_div.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_FF_floor.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_FF_minus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_FF_mul.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_FF_plus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_I.cc Initial revision 25 years ago
exam_I_div.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_I_floor.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_I_gcd.cc * */*: Removed problematic stdin, stdout and stderr definitions. 24 years ago
exam_I_minus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_I_mul.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_I_plus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_I_sqrtp.cc Initial revision 25 years ago
exam_LF.cc Initial revision 25 years ago
exam_LF_div.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_LF_floor.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_LF_minus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_LF_mul.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_LF_plus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_RA.cc Initial revision 25 years ago
exam_RA_div.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_RA_floor.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_RA_minus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_RA_mul.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_RA_plus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_SF.cc Initial revision 25 years ago
exam_SF_div.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_SF_floor.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_SF_minus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_SF_mul.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
exam_SF_plus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
main.cc * */*: Removed problematic stdin, stdout and stderr definitions. 24 years ago
test.h * */*: Removed problematic stdin, stdout and stderr definitions. 24 years ago
test_I.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_I.h * All Files have been modified for inclusion of namespace cln; 25 years ago
test_I_GV.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_I_abs.cc Initial revision 25 years ago
test_I_ash.cc Initial revision 25 years ago
test_I_boole.cc Initial revision 25 years ago
test_I_compare.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_I_div.cc Initial revision 25 years ago
test_I_dpb.cc Initial revision 25 years ago
test_I_dpf.cc Initial revision 25 years ago
test_I_evenp.cc Initial revision 25 years ago
test_I_gcd.cc Initial revision 25 years ago
test_I_ilength.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_I_isqrt.cc Initial revision 25 years ago
test_I_ldb.cc Initial revision 25 years ago
test_I_ldbtest.cc Initial revision 25 years ago
test_I_logand.cc Initial revision 25 years ago
test_I_logandc1.cc Initial revision 25 years ago
test_I_logandc2.cc Initial revision 25 years ago
test_I_logbitp.cc Initial revision 25 years ago
test_I_logcount.cc Initial revision 25 years ago
test_I_logeqv.cc Initial revision 25 years ago
test_I_logior.cc Initial revision 25 years ago
test_I_lognand.cc Initial revision 25 years ago
test_I_lognor.cc Initial revision 25 years ago
test_I_lognot.cc Initial revision 25 years ago
test_I_logorc1.cc Initial revision 25 years ago
test_I_logorc2.cc Initial revision 25 years ago
test_I_logtest.cc Initial revision 25 years ago
test_I_logxor.cc Initial revision 25 years ago
test_I_minus.cc Initial revision 25 years ago
test_I_minus1.cc Initial revision 25 years ago
test_I_mkf.cc Initial revision 25 years ago
test_I_mul.cc Initial revision 25 years ago
test_I_oddp.cc Initial revision 25 years ago
test_I_ord2.cc Initial revision 25 years ago
test_I_plus.cc Initial revision 25 years ago
test_I_plus1.cc Initial revision 25 years ago
test_I_power2p.cc Initial revision 25 years ago
test_I_sqrtp.cc Initial revision 25 years ago
test_I_xgcd.cc Initial revision 25 years ago
test_MI.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI.h * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI_canonhom.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI_div.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI_expt.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI_minus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI_mul.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI_plus.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
test_MI_recip.cc * All Files have been modified for inclusion of namespace cln; 25 years ago
sp/cln_mirror - include/cln/real_io.h at 2b4e46a5171a043b1c8ab81d5b80e6a9447e6f12 - cln_mirror - Gitea: Git with a cup of tea
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

57 lines
1.6 KiB

// I/O of real numbers.
#ifndef _CL_REAL_IO_H
#define _CL_REAL_IO_H
#include "cln/number_io.h"
#include "cln/real.h"
namespace cln {
// Undocumented input functions
// The following does strictly the same as the general read_complex.
// It is here only so that you don't need the complex number reader
// in order to read an rational number. ("Treeshaking")
extern const cl_R read_real (const cl_read_flags& flags, const char * string, const char * string_limit, const char * * end_of_parse);
extern const cl_R read_real (std::istream& stream, const cl_read_flags& flags);
// Documented input functions
inline std::istream& operator>> (std::istream& stream, cl_R& result)
{
extern cl_read_flags cl_R_read_flags;
result = read_real(stream,cl_R_read_flags);
return stream;
}
// Undocumented output functions
// Documented output functions
// Gibt eine Zahl aus.
// print_real(stream,flags,z);
// > z: Zahl
// > stream: Stream
// > flags: Ausgabe-Parameter
extern void print_real (std::ostream& stream, const cl_print_flags& flags, const cl_R& z);
extern void print_real (std::ostream& stream, const cl_print_number_flags& flags, const cl_R& z);
extern void print_real (std::ostream& stream, const cl_print_real_flags& flags, const cl_R& z);
// The following does strictly the same as the general `fprint' for numbers.
// It is here only so that you don't need the complex number printer
// in order to print an integer. ("Treeshaking")
inline void fprint (std::ostream& stream, const cl_R& x)
{
extern cl_print_flags default_print_flags;
print_real(stream,default_print_flags,x);
}
CL_DEFINE_PRINT_OPERATOR(cl_R)
} // namespace cln
#endif /* _CL_REAL_IO_H */
0