5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/log2.html}
7 Gnulib module: log2 or log2-ieee
9 Portability problems fixed by either Gnulib module @code{log2} or @code{log2-ieee}:
12 This function is missing on some platforms:
13 FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, older IRIX 6.5,
14 Solaris 9, MSVC 9, Android 4.2.
16 This function is not declared on some platforms:
19 This function is only provided as a macro on some platforms:
22 This function returns slightly wrong values for exact powers of 2 on some platforms:
26 Portability problems fixed by Gnulib module @code{log2-ieee}:
29 This function returns a wrong value for a negative argument on some platforms:
30 NetBSD 5.1, Solaris 10/x86_64.
33 Portability problems not fixed by Gnulib: