This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.
584. missing intpow(int,int)
functionality
Section: 29.7 [c.math] Status: NAD Submitter: Beman Dawes Opened: 2006-06-15 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [c.math].
View all issues with NAD status.
Discussion:
There is no pow()
function for any integral type.
Proposed resolution:
Add something like:
template< typename T> T power( T x, int n ); // requires: n >=0
Rationale:
Toronto: We already have double pow(integral, integral)
from 29.7 [c.math] p11.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4