aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/common/erl_poll.c
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2017-04-27 14:44:10 +0200
committerRichard Carlsson <[email protected]>2017-04-27 14:48:40 +0200
commit282a7cab9989abb7a1b2daca7aec907d53163ff4 (patch)
treeae66254176af7dd2d8e48668cdcd178521dd4636 /erts/emulator/sys/common/erl_poll.c
parentd9c2e78d4e7b6166245e79a70bd4d95c8a1b742a (diff)
downloadotp-282a7cab9989abb7a1b2daca7aec907d53163ff4.tar.gz
otp-282a7cab9989abb7a1b2daca7aec907d53163ff4.tar.bz2
otp-282a7cab9989abb7a1b2daca7aec907d53163ff4.zip
Rename macro and add clarifying comment
The macro previously named 'LOG2' is in fact computing the LSB (not the MSB) of its input, and can only be used to compute log2(n) when n is is a power of 2, that is, when its LSB is also its MSB.
Diffstat (limited to 'erts/emulator/sys/common/erl_poll.c')
0 files changed, 0 insertions, 0 deletions