]> www.ginac.de Git - cln.git/blob - src/float/lfloat/division/cl_LF_recip.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / lfloat / division / cl_LF_recip.cc
1 // recip().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cln/lfloat.h"
8
9
10 // Implementation.
11
12 #include "cl_LF.h"
13 #include "cl_LF_impl.h"
14
15 namespace cln {
16
17 ALL_cl_LF_OPERATIONS_SAME_PRECISION()
18
19 const cl_LF recip (const cl_LF& x)
20 {
21         return encode_LF1(TheLfloat(x)->len) / x;
22 }
23
24 }  // namespace cln