mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.10.2t30
This commit is contained in:
26
help/im
Normal file
26
help/im
Normal file
@@ -0,0 +1,26 @@
|
||||
NAME
|
||||
im - imaginary part of a real or complex number
|
||||
|
||||
SYNOPSIS
|
||||
im(x)
|
||||
|
||||
TYPES
|
||||
x real or complex
|
||||
|
||||
return real
|
||||
|
||||
DESCRIPTION
|
||||
If x = u + v * 1i where u and v are real, im(x) returns v.
|
||||
|
||||
EXAMPLE
|
||||
> print im(2), im(2 + 3i), im(-4.25 - 7i)
|
||||
0 3 -7
|
||||
|
||||
LIMITS
|
||||
none
|
||||
|
||||
LIBRARY
|
||||
COMPLEX *cimag(COMPLEX *x)
|
||||
|
||||
SEE ALSO
|
||||
re
|
Reference in New Issue
Block a user