Engineering functions

IMEXP

Matches all 3 recorded answers

Recorded: 3 workbook cells. How we measure this · See the Rust code

Local names in 40 languages
LanguageName in Excel
ArabicIMEXP
BulgarianIMEXP
CzechIMEXP
DanishIMAGEKSP
GermanIMEXP
GreekIMEXP
English (Australia)IMEXP
English (United Kingdom)IMEXP
English (United States)IMEXP
SpanishIM.EXP
EstonianIMEXP
FinnishKOMPLEKSI.EKSP
FrenchCOMPLEXE.EXP
HebrewIMEXP
CroatianIMEXP
HungarianKÉPZ.EXP
IndonesianIMEXP
ItalianIMEXP
JapaneseIMEXP
KoreanIMEXP
LithuanianIMEXP
LatvianIMEXP
NorwegianIMEXP
DutchC.EXP
PolishEXP.LICZBY.ZESP
Portuguese (Brazil)IMEXP
Portuguese (Portugal)IMEXP
RomanianIMEXP
RussianМНИМ.EXP
SlovakIMEXP
SlovenianIMEXP
Serbian (Latin)IMEXP
SwedishIMEUPPHÖJT
ThaiIMEXP
TurkishSANÜS işlevi
UkrainianIMEXP
VietnameseIMEXP
Chinese (Simplified)IMEXP
Chinese (Hong Kong)IMEXP
Chinese (Traditional)IMEXP

Names from Microsoft's support site.

What it does

IMEXP(inumber)

IMEXP(inumber) returns e raised to a complex power, represented as complex text. Its real input coefficient controls magnitude; the imaginary coefficient controls angle in radians.

Try it

Input cells (optional)

Example: {"B2": 3, "B3": 4}. A1 holds the formula. Other cells need values before a formula can read them.

Enter a formula, then calculate.

Runs locally in your browser with OneCalc. Its answer may differ from Excel. Use English function names and commas between arguments.

=IMEXP("0") returns "1". Mathematically IMEXP("i") has components cos(1) and sin(1), approximately 0.54030230586814+0.841470984807897i.

Quirks

Complex arguments may be real numbers or text such as "2-3i". Use lowercase i or j; operands in one call must agree on the suffix. The current parser rejects malformed complex text with #NUM! and logical values with #VALUE!. A complex result is text, so ordinary worksheet arithmetic does not automatically treat it as a pair of numeric components. Large positive real coefficients can overflow the exponential; large negative ones can underflow. Values at imaginary multiples of a mathematical quarter turn still depend on the floating-point argument that actually arrived.

How to implement

Parse the two coefficients and suffix before doing arithmetic; use the common complex formatter afterward. Retain suffix consistency, suppress a zero component and omit the coefficient one before the imaginary unit. Formatting and parsing have their own fifteen-significant-digit rules, so testing only the algebra misses observable behaviour.

For a+bi, compute u=exp(a), then the pair (u*cos(b),u*sin(b)). This is the current runtime-leaf composition. At zero, u=1, cosine is one and sine zero, so formatting returns text one. Keep component nonfinite checks and zero handling before text assembly; an arbitrary language complex-library string is not an Excel representation.

Rust code

Show the CalcFunc source of this function

Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.

IMEXP · 1 lines · calc-func/src/catalogue/engineering.rs on GitHub
41 imexp "IMEXP" (1, 1) [V "inumber"] |s, a, sv| { unary_complex(s, a, |z| Ok(z.exp())) }

Kernels shared with other functions

Argument and result plumbing

No implementation has been published with a Handbook test suite for this function.

Version differences

No same-input comparison between named Excel builds is recorded for this function here. The documented behaviour below is not a measurement of every Excel release.

Alternatives

IMLN is the principal logarithm; IMPOWER accepts a real exponent.

Named variants

No named variants are recorded yet.

Suggest a correction or contribute an implementation · For agents