]> www.ginac.de Git - cln.git/blob - src/float/lfloat/elem/cl_LF_plus1.cc
b431f7d648d28e03c9d94160819f1e572a66dc2b
[cln.git] / src / float / lfloat / elem / cl_LF_plus1.cc
1 // plus1().
2
3 // General includes.
4 #include "cl_sysdep.h"
5
6 // Specification.
7 #include "cl_lfloat.h"
8
9
10 // Implementation.
11
12 #include "cl_LF.h"
13
14 ALL_cl_LF_OPERATIONS_SAME_PRECISION()
15
16 const cl_LF plus1 (const cl_LF& x)
17 {
18         return x + cl_I_to_LF(cl_I(1),TheLfloat(x)->len);
19 }