Skip to content
Property Value
Hex Value $BB26
Categories
Localizations
  • FR: reel(

real(

Overview

Returns the real part of a complex number or list of complex numbers.

Availability: Token available everywhere.

Syntax

real(value)

Arguments

NameTypeOptional
valuecomplex|complex[]

Location

math, CPLX, 2:real(


Description

real(z) returns the real part of the complex number z. If z is represented as x+i_y_ where x and y are both real, real(z) returns x. Also works on a list of complex numbers.

real(3+4i)
     3

Advanced Uses

The real( command is expanded by several assembly libraries (such as xLIB and Omnicalc) to call their own routines. If xLib is installed, then real( will no longer work as intended even in programs that want to use it for its intended purpose.

If you actually want to take the real part of a complex number, and want the program to work with one of these assembly libraries, you could use the imag( command instead - real(Z) is equivalent to imag(Z𝑖). Alternatively, you could tell people using your program to uninstall xLIB or Omnicalc first.

If a program you downloaded has an error and 2:Goto takes you to a line with real( and a bunch of arguments, this is probably because the program uses Omnicalc or xLIB which you don't have installed.

See Also


Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan.

History

Calculator OS Version Description
TI-83 0.01013 Added

Last update: September 30, 2023 15:38:51
Created: February 23, 2023 23:15:01
Authors: Adrien Bertrand