Title: Suggestion: implement an exponentiation (power-of) operator · Issue #3603 · PowerShell/PowerShell · GitHub
Open Graph Title: Suggestion: implement an exponentiation (power-of) operator · Issue #3603 · PowerShell/PowerShell
X Title: Suggestion: implement an exponentiation (power-of) operator · Issue #3603 · PowerShell/PowerShell
Description: Currently, to get exponentiation ($x to the power of $n), you must use the .NET framework: E.g., to calculate 2 to the power of 8: > [Math]::Pow(2, 8) 256 It would be nice to have a dedicated operator, such as **, as in other languages (...
Open Graph Description: Currently, to get exponentiation ($x to the power of $n), you must use the .NET framework: E.g., to calculate 2 to the power of 8: > [Math]::Pow(2, 8) 256 It would be nice to have a dedicated opera...
X Description: Currently, to get exponentiation ($x to the power of $n), you must use the .NET framework: E.g., to calculate 2 to the power of 8: > [Math]::Pow(2, 8) 256 It would be nice to have a dedicated op...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3603
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: implement an exponentiation (power-of) operator","articleBody":"Currently, to get exponentiation (`$x` to the power of `$n`), you must use the .NET framework:\r\n\r\nE.g., to calculate 2 to the power of 8:\r\n\r\n > [Math]::Pow(2, 8)\r\n 256\r\n\r\nIt would be nice to have a dedicated operator, such as `**`, as in other languages (e.g., Python, Ruby, JavaScript, Perl):\r\n\r\n > 2 ** 8\r\n 256\r\n\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-04-20T04:42:18Z","url":"https://github.com/PowerShell/PowerShell/issues/3603"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a80803f3-3163-1a09-1854-5a2bcd288fa4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F9C:12CF10:136937:1C7298:6AFDC037 |
| html-safe-nonce | 51053075aecfb132ab1b8478e543d890f07333e7b14121f5d3788bb404c4a408 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjlDOjEyQ0YxMDoxMzY5Mzc6MUM3Mjk4OjZBRkRDMDM3IiwidmlzaXRvcl9pZCI6Ijg5NDQ3MTQwMzIyMDQzMzMxMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8e9d6f3e8b6fe71fc52be5d5895b153913cb91316e94e3ce0e104f7c033e2589 |
| hovercard-subject-tag | issue:222947742 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/3603/issue_layout |
| twitter:image | https://opengraph.githubassets.com/91b85a39168687dd67b0a1a1b271403a43049e99cfb7aeb38f10832772937ad5/PowerShell/PowerShell/issues/3603 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/91b85a39168687dd67b0a1a1b271403a43049e99cfb7aeb38f10832772937ad5/PowerShell/PowerShell/issues/3603 |
| og:image:alt | Currently, to get exponentiation ($x to the power of $n), you must use the .NET framework: E.g., to calculate 2 to the power of 8: > [Math]::Pow(2, 8) 256 It would be nice to have a dedicated opera... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mklement0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35c6bf57da1370dc64866160540c0ee9f825f291935b3bf6ec5492b00e35f3a6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab48c73a2978548773f5f24717ed9e58508befdb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width