line |
true |
false |
branch |
6
|
15 |
13 |
else { |
|
15 |
0 |
else { |
|
15 |
0 |
else { |
8
|
10 |
3 |
PrecisionModel::Type model = static_cast(SvIV(arg1)); |
9
|
10 |
0 |
RETVAL = new PrecisionModel(model); |
|
0 |
0 |
RETVAL = new PrecisionModel(model); |
10
|
10 |
0 |
} |
|
10 |
0 |
} |
13
|
3 |
0 |
if (arg2) { |
|
0 |
0 |
if (arg2) { |
14
|
1 |
2 |
if(!arg3) throw("undef not allowed"); |
15
|
0 |
1 |
double offsetX = SvNV(arg2); |
16
|
1 |
0 |
double offsetY = SvNV(arg3); |
|
0 |
0 |
double offsetY = SvNV(arg3); |
17
|
1 |
0 |
RETVAL = new PrecisionModel(scale, offsetX, offsetY); |
|
0 |
0 |
RETVAL = new PrecisionModel(scale, offsetX, offsetY); |
18
|
1 |
0 |
} |
|
1 |
0 |
} |
20
|
2 |
0 |
} |
|
2 |
0 |
} |
24
|
2 |
0 |
double PrecisionModel::getScale() |
26
|
0 |
0 |
double PrecisionModel::getOffsetX() |
28
|
0 |
0 |
double PrecisionModel::getOffsetY() |
30
|
11 |
0 |
bool PrecisionModel::isFloating() |
32
|
1 |
0 |
int PrecisionModel::getMaximumSignificantDigits() |
34
|
7 |
0 |
int PrecisionModel::getType() |
36
|
1 |
0 |
double PrecisionModel::makePrecise(double val) |
38
|
9 |
0 |
std::string PrecisionModel::toString(...) |
|
9 |
0 |
std::string PrecisionModel::toString(...) |
40
|
3 |
0 |
int PrecisionModel::compareTo(PrecisionModel& other) { RETVAL = THIS->compareTo(&other); } |
43
|
46 |
0 |
auto this_stash = Stash(__PACKAGE__); |
44
|
46 |
0 |
xs::exp::create_constants(this_stash, { |
|
46 |
0 |
xs::exp::create_constants(this_stash, { |
|
46 |
0 |
xs::exp::create_constants(this_stash, { |
|
46 |
0 |
xs::exp::create_constants(this_stash, { |
|
138 |
46 |
xs::exp::create_constants(this_stash, { |
|
0 |
0 |
xs::exp::create_constants(this_stash, { |
48
|
46 |
0 |
}); |
49
|
46 |
0 |
xs::exp::autoexport(this_stash); |
|
46 |
0 |
xs::exp::autoexport(this_stash); |