MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getTxtTraps

Method getTxtTraps

src/common/DecFloat.cpp:1210–1226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1208}
1209
1210string DecimalStatus::getTxtTraps()
1211{
1212 string rc;
1213 for (auto c = FB_DEC_IeeeTraps; c->name; ++c)
1214 {
1215 if (c->val & decExtFlag)
1216 {
1217 if (rc.hasData())
1218 rc += ',';
1219 rc += &c->name[FB_DEC_TRAPS_OFFSET];
1220 }
1221 }
1222
1223 if (rc.hasData())
1224 return rc;
1225 return "None";
1226}
1227} // namespace Firebird

Callers 1

evlGetContextFunction · 0.80

Calls 1

hasDataMethod · 0.45

Tested by

no test coverage detected