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

Function areParamsDouble

src/jrd/SysFunction.cpp:486–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484
485template <typename DSC>
486bool areParamsDouble(int argsCount, DSC** args)
487{
488 bool decSeen = false;
489
490 for (int i = 0; i < argsCount; ++i)
491 {
492 if (args[i]->isApprox())
493 return true;
494 if (args[i]->isDecOrInt128())
495 decSeen = true;
496 }
497
498 return !decSeen;
499}
500
501
502bool areParamsDec64(int argsCount, dsc** args)

Callers 4

setParamsDblDecFunction · 0.85
makeDblDecResultFunction · 0.85
evlLogFunction · 0.85
evlPowerFunction · 0.85

Calls 2

isApproxMethod · 0.80
isDecOrInt128Method · 0.80

Tested by

no test coverage detected