Opened 11 years ago

#6752 new Feature Requests

Addition of cbrt, min, max

Reported by: pieterb@… Owned by: Matthias Schabel
Milestone: To Be Determined Component: units
Version: Boost 1.48.0 Severity: Optimization
Keywords: Cc:

Description

LS, please consider adding the cubic root and min/max functions to the boost.units library. I have included an implementation and unit tests (all fairly trivial) in cmath.hpp and test_cmath.cpp. Maybe the min/max should be placed elsewhere as these are not part of the original cmath header-it might be nice to have a place (header) for future similar additions. Thanks for your consideration! - Pieter

Attachments (2)

cmath.hpp (21.2 KB ) - added by anonymous 11 years ago.
test_cmath.cpp (6.2 KB ) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 11 years ago

Attachment: cmath.hpp added

by anonymous, 11 years ago

Attachment: test_cmath.cpp added
Note: See TracTickets for help on using tickets.