Power
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.
Exponentiation: raise a base to a power.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wikipedia
ExponentiationMathWorldExponentiationWikidataQ33456FungrimPowWolfram LanguagePower!Power(complex | infinity, complex | signed_infinity) -> numberExponentiation: raise a base to a power.mpmath
enumeratio_pow(complex | infinity, complex | signed_infinity)Juliaenumeratio_pow(complex | infinity, complex | signed_infinity)Rustpower(complex | infinity, complex | signed_infinity)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | infinity, complex | signed_infinity) -> number | adelesreplaces numerals | on Adele, Idele, ProfiniteNumber |
(complex | infinity, complex | signed_infinity) -> number | analyticreplaces compute-engine | on Around, CenteredInterval, Interval |
(complex | infinity, complex | signed_infinity) -> number | compute-engine | always |
(complex | infinity, complex | signed_infinity) -> number | evaluationreplaces compute-engine | always |
(complex | infinity, complex | signed_infinity) -> number | hypercomplexreplaces analytic | for symbols ^(?:i|j|epsilon|e|f|theta|epsilonSymbol|varepsilon|thetaSymbol|vartheta)_\d+$ |
(complex | infinity, complex | signed_infinity) -> number | numeralsreplaces residues | on AdicNumeral |
(complex | infinity, complex | signed_infinity) -> number | residuesreplaces hypercomplex | on ResidueClass |
Details
- Differs from Wolfram: stays a product of two powers; Wolfram combines it into .
Plot
Examples
3 more kept as data, checked against the oraclesBasic #
Power(2, ComplexInfinity) is Indeterminate, the same direction-dependence as e^z
live ↗Known value · Same reasoning as e^z, for any positive real base != 1
Scope #
Power(1/2, ComplexInfinity) is a type error, since the exponent excludes ComplexInfinity
live ↗Power(x, ComplexInfinity) is a type error, since the exponent excludes ComplexInfinity
live ↗live ↗
InOut
live ↗
InOut
Possible issues #
Power(1, ComplexInfinity) is Indeterminate: is an indeterminate form, as is
live ↗Known value · 1^Infinity is an indeterminate form
About
| Examples | 17 |
|---|---|
| Checked against | Wolfram Language 8 agree9 differSageMath 7 agree1 differ1 unevaluated5 errorSymPy 8 agree6 differ1 unevaluatedmpmath 6 agree1 differ1 unevaluatedJulia 6 agree1 differ1 unevaluatedRust 2 agree4 error |
| Crosswalk | WikipediaMathWorldWikidataFungrimWolfram LanguagempmathJuliaRust |
Implementation
mapped
sympypackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsPython's int negative int is a double (10-29 makes 1 + 256*10**-29 equal 1); the helper keeps it at working precision.
mapped
sagepackages/oracle/src/mappings.tsmapped
oscarpackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
mathlib4packages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.ts