blob: 5d4848e1f28d0d82a92c562f62c30b8aa6ba9f96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// file : xsde/cxx/serializer/non-validating/float.ixx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsde
{
namespace cxx
{
namespace serializer
{
namespace non_validating
{
inline void float_simpl::
format (notation n, unsigned int p)
{
notation_ = n;
precision_ = p;
}
inline float_simpl::
float_simpl (notation n, unsigned int p)
: notation_ (n), precision_ (p)
{
}
}
}
}
}
|