Title
missing int pow(int,int) functionality
Status
nad
Section
[c.math]
Submitter
Beman Dawes

Created on 2006-06-15.00:00:00 last changed 171 months ago

Messages

Date: 2011-03-05.00:04:13

Rationale:

Toronto: We already have double pow(integral, integral) from [c.math] p11.

Date: 2010-10-21.18:28:33

Proposed resolution:

Add something like:

template< typename T>
T power( T x, int n );
// requires: n >=0
Date: 2006-06-15.00:00:00

There is no pow() function for any integral type.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3138
2010-10-21 18:28:33adminsetmessages: + msg3137
2006-06-15 00:00:00admincreate