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

Function RootCheckIndexTwo

extern/ttmath/ttmath.h:1939–1949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1937
1938 template<class ValueType>
1939 bool RootCheckIndexTwo(ValueType & x, const ValueType & index, ErrorCode * err)
1940 {
1941 if( index == 2 )
1942 {
1943 x = Sqrt(x, err);
1944
1945 return true;
1946 }
1947
1948 return false;
1949 }
1950
1951
1952 template<class ValueType>

Callers 1

RootFunction · 0.85

Calls 1

SqrtFunction · 0.85

Tested by

no test coverage detected