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.

27 lines
515 B

25 years ago
25 years ago
25 years ago
25 years ago
  1. // Built-in real number ring.
  2. #ifndef _CL_REAL_RING_H
  3. #define _CL_REAL_RING_H
  4. #include "cln/ring.h"
  5. #include "cln/real_class.h"
  6. namespace cln {
  7. typedef cl_specialized_number_ring<cl_R> cl_real_ring;
  8. extern const cl_real_ring cl_R_ring; // math. R
  9. extern cl_class cl_class_real_ring;
  10. class cl_R_ring_init_helper
  11. {
  12. static int count;
  13. public:
  14. cl_R_ring_init_helper();
  15. ~cl_R_ring_init_helper();
  16. };
  17. static cl_R_ring_init_helper cl_R_ring_init_helper_instance;
  18. } // namespace cln
  19. #endif /* _CL_REAL_RING_H */