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/sroundup_lwork.f(3) LAPACK INSTALL/sroundup_lwork.f(3)

INSTALL/sroundup_lwork.f


real function sroundup_lwork (lwork)
SROUNDUP_LWORK

SROUNDUP_LWORK

Purpose:


SROUNDUP_LWORK deals with a subtle bug with returning LWORK as a Float.
This routine guarantees it is rounded up instead of down by
multiplying LWORK by 1+eps when it is necessary, where eps is the relative machine precision.
E.g.,
float( 16777217 ) == 16777216
float( 16777217 ) * (1.+eps) == 16777218
\return SROUNDUP_LWORK
\verbatim
SROUNDUP_LWORK >= LWORK.
SROUNDUP_LWORK is guaranteed to have zero decimal part.

Parameters

LWORK Workspace size.

Author

Weslley Pereira, University of Colorado Denver, USA

Further Details:


This routine was inspired in the method `magma_zmake_lwork` from MAGMA.
\see https://bitbucket.org/icl/magma/src/master/control/magma_zauxiliary.cpp

Definition at line 58 of file sroundup_lwork.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.