libstdc++: Improve comment on _Power_of_2 helper function
authorJonathan Wakely <jwakely@redhat.com>
Mon, 9 Nov 2020 14:32:45 +0000 (14:32 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 9 Nov 2020 14:54:29 +0000 (14:54 +0000)
commitb2b85163731e8647542f2f7561bd4c69ae5f5f2a
treeac9deb788db34a06bc2a2993fc21cb54c342ecca
parentff4bfb1553cf525d7299bbf7451ac32cfd97ae1b
libstdc++: Improve comment on _Power_of_2 helper function

libstdc++-v3/ChangeLog:

* include/bits/uniform_int_dist.h (__detail::_Power_of_2):
Document that true result for zero is intentional.
libstdc++-v3/include/bits/uniform_int_dist.h