Skip to content

Real ​

Real part of a complex number.

✓ checked against that system · ! checked, with disagreements (hover a chip)FungrimRe✓Fungrim entryWolfram LanguageRe✓
Real(complex | infinity) -> numberthe real part; of a directed infinity, the infinity of its sign, or 0 when it has none.
SageMathreal_part(complex | infinity)SymPyre(complex | infinity)mpmathre(complex | infinity)Juliaenumeratio_ball(real, complex | infinity)
Typed signatures
TypePackageApplies
(complex | infinity) -> numberanalyticreplaces compute-enginealways
(complex | infinity) -> numbercompute-enginealways

Domain: Compute engine

Plot

ComplexPlot
real slice

Examples

Basic #

Re⁡(3+4i)=3\operatorname{Re}(3+4i) = 3

live ↗
Inℜ(3+4i)\Re(3+4i)Out33
Properties #

Of a directed infinity, the infinity of its sign

live ↗
Inℜ(∞)\Re(∞)Out∞∞
About
Examples2
Checked againstWolfram Language 2 agreeSageMath 2 agreeSymPy 2 agreempmath 2 agreeJulia 1 agree1 error
CrosswalkFungrimFungrim entry ×24Wolfram LanguageSageMathSymPympmathJulia

Implementation

mappedsympypackages/oracle/src/mappings.ts
mappedmpmathpackages/oracle/src/mappings.ts
mappedsagepackages/oracle/src/mappings.ts
mappedjuliapackages/oracle/src/mappings.ts