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

Method fromString

src/yvalve/utl.cpp:1290–1302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1288 }
1289
1290 void fromString(CheckStatusWrapper* status, const char* from, FB_DEC16* to)
1291 {
1292 try
1293 {
1294 DecimalStatus decSt(FB_DEC_Errors);
1295 Decimal64* val = reinterpret_cast<Decimal64*>(to);
1296 val->set(from, decSt);
1297 }
1298 catch (const Exception& ex)
1299 {
1300 ex.stuffException(status);
1301 }
1302 }
1303};
1304
1305IDecFloat16* UtilInterface::getDecFloat16(CheckStatusWrapper* status)

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected