Contents
1
log2((+-)0) returns -(inf) and raises the “divide-by-zero” floating-point exception.
log2(1) returns +0.
log2(x) returns a NaN and raises the “invalid” floating-point exception for x < 0.
log2(+(inf)) returns +(inf).