Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-19 08:08:32

0001 // Built-in rational number ring.
0002 
0003 #ifndef _CL_RATIONAL_RING_H
0004 #define _CL_RATIONAL_RING_H
0005 
0006 #include "cln/ring.h"
0007 #include "cln/rational_class.h"
0008 
0009 namespace cln {
0010 
0011 typedef cl_specialized_number_ring<cl_RA> cl_rational_ring;
0012 extern const cl_rational_ring cl_RA_ring;   // math. Q
0013 extern cl_class cl_class_rational_ring;
0014 
0015 class cl_RA_ring_init_helper
0016 {
0017     static int count;
0018 public:
0019     cl_RA_ring_init_helper();
0020     ~cl_RA_ring_init_helper();
0021 };
0022 static cl_RA_ring_init_helper cl_RA_ring_init_helper_instance;
0023 
0024 }  // namespace cln
0025 
0026 #endif /* _CL_RATIONAL_RING_H */