]> www.ginac.de Git - cln.git/blob - src/float/lfloat/elem/cl_LF_minus1.cc
* All Files have been modified for inclusion of namespace cln;
[cln.git] / src / float / lfloat / elem / cl_LF_minus1.cc
1 // minus1().
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
14 namespace cln {
15
16 ALL_cl_LF_OPERATIONS_SAME_PRECISION()
17
18 const cl_LF minus1 (const cl_LF& x)
19 {
20         return x + cl_I_to_LF(cl_I(-1),TheLfloat(x)->len);
21 }
22
23 }  // namespace cln