GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
INSTALL/test_zcomplexabs.f(3) LAPACK INSTALL/test_zcomplexabs.f(3)

INSTALL/test_zcomplexabs.f


program zabs
zabs tests the robustness and precision of the intrinsic ABS for double complex

zabs tests the robustness and precision of the intrinsic ABS for double complex

Author

Weslley S. Pereira, University of Colorado Denver, U.S.


Real values for test:
(1) x = 2**m, where m = MINEXPONENT-DIGITS, ..., MINEXPONENT-1. Stop on the first success.
Mind that not all platforms might implement subnormal numbers.
(2) x = 2**m, where m = MINEXPONENT, ..., 0. Stop on the first success.
(3) x = OV, where OV is the overflow threshold. OV^2 overflows but the norm is OV.
(4) x = 2**m, where m = MAXEXPONENT-1, ..., 1. Stop on the first success.
Tests:
(a) y = x + 0 * I, |y| = x
(b) y = 0 + x * I, |y| = x
(c) y = (3/4)*x + x * I, |y| = (5/4)*x whenever (3/4)*x and (5/4)*x can be exactly stored
(d) y = (1/2)*x + (1/2)*x * I, |y| = (1/2)*x*sqrt(2) whenever (1/2)*x can be exactly stored
Special cases:
(i) Inf propagation
(1) y = Inf + 0 * I, |y| is Inf.
(2) y =-Inf + 0 * I, |y| is Inf.
(3) y = 0 + Inf * I, |y| is Inf.
(4) y = 0 - Inf * I, |y| is Inf.
(5) y = Inf + Inf * I, |y| is Inf.
(n) NaN propagation
(1) y = NaN + 0 * I, |y| is NaN.
(2) y = 0 + NaN * I, |y| is NaN.
(3) y = NaN + NaN * I, |y| is NaN.

Definition at line 44 of file test_zcomplexabs.f.

Generated automatically by Doxygen for LAPACK from the source code.

Sun Jan 12 2025 15:13:28 Version 3.12.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.