MCPcopy Create free account
hub / github.com/WheretIB/nullc / __nullcPow

Function __nullcPow

NULLC/translation/runtime.cpp:197–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197int __nullcPow(int number, int power)
198{
199 int result = 1;
200 while(power)
201 {
202 if(power & 1)
203 {
204 result *= number;
205 power--;
206 }
207 number *= number;
208 power >>= 1;
209 }
210 return result;
211}
212
213double __nullcPow(double a, double b)
214{

Callers 1

__nullcPowSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected