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

Function decFloatCopy

extern/decNumber/decBasic.c:1817–1820  ·  view source on GitHub ↗

------------------------------------------------------------------ */ decFloatCopy -- copy a decFloat as-is */ / result gets the copy of dfl */ dfl is the decFloat to copy */ returns result */ / This is a bitwise operation; no errors or exceptions

Source from the content-addressed store, hash-verified

1815/* This is a bitwise operation; no errors or exceptions are possible. */
1816/* ------------------------------------------------------------------ */
1817decFloat * decFloatCopy(decFloat *result, const decFloat *dfl) {
1818 if (dfl!=result) *result=*dfl; // copy needed
1819 return result;
1820 } // decFloatCopy
1821
1822/* ------------------------------------------------------------------ */
1823/* decFloatCopyAbs -- copy a decFloat as-is and set sign bit to 0 */

Callers 1

decFloatFMAFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected