Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

speed

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.32 sec, absolute running time: 1.4 sec, cpu time: 1.92 sec, memory peak: 5 Mb, absolute service time: 1,85 sec 
edit mode |  history
log2(nan)=nan [nan]
log2(-inf)=nan [nan]
log2(-10)=nan [nan]
log2(-0)=-inf [-inf]
log2(0)=-inf [-inf]
log2(9.9999461e-41)=-132.877136 [-132.877132]
log2(0.0700000003)=-3.83650136 [-3.83650126]
log2(0.5)=-1 [-1]
log2(1)=0 [0]
log2(1.99999988)=0.99999994 [0.999999914]
log2(2)=1 [1]
log2(2.00000024)=1.00000012 [1.00000017]
log2(4)=2 [2]
log2(5)=2.32192802 [2.32192809]
log2(inf)=inf [inf]
[1.0; 2.0):
  Linf: abs=1.04e-07, rel=2.09e-07, 2.991 ulp
  RMS : abs=2.13e-08, rel=4.63e-08, 0.566 ulp
[0.5; 2.0):
  Linf: abs=1.11e-07, rel=2.46e-07, 3.479 ulp
  RMS : abs= 2.1e-08, rel=4.72e-08, 0.581 ulp
Speed: 5.7 ns/call