You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the pieces of modular randof implementation got nicely spread around, the routine could benefit from becoming a real function (or a set of those) wrapping the same coding patterns and platform-dependent quirks. In particular, being a function would allow to better address run-time discrepancies between huge num range and a small RAND_MAX spectrum, as well as to compile changes once rather than require rebuild of CZMQ and whoever uses the header.
This issue is a sort of request for info: was there any special purpose to making it a macro rather than function in the first place?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity for 90 days. It will be closed if no further activity occurs within 21 days. Thank you for your contributions.
While the pieces of modular
randof
implementation got nicely spread around, the routine could benefit from becoming a real function (or a set of those) wrapping the same coding patterns and platform-dependent quirks. In particular, being a function would allow to better address run-time discrepancies between hugenum
range and a smallRAND_MAX
spectrum, as well as to compile changes once rather than require rebuild of CZMQ and whoever uses the header.This issue is a sort of request for info: was there any special purpose to making it a macro rather than function in the first place?
The text was updated successfully, but these errors were encountered: