-
Notifications
You must be signed in to change notification settings - Fork 958
Closed
Milestone
Description
There are a number of small functions throughout the course that are referred to in global namespace, for example:
fmin,fmaxsqrtfabssin,cos,tanrand
Two of them -- sqrt and fabs -- are pulled into global namespace with the using directive inside rtweekend.h, but others -- aren't. Two possible solutions:
- Prefix all functions with
std::namespace (preferred). - Pull missing functions into global namespace (poor practice).