The UseHardwareFloats Environment Variable
UseHardwareFloats := flag
true, false, or deduced
The UseHardwareFloats environment variable controls whether Maple's hardware or software floating-point computation environment is used to perform floating-point operations when there are hardware floating-point values present in the expression being evaluated.
This environment variable has influence only over computations done on expressions containing hardware floats (see HFloat) or hardware floating-point rtables (Arrays, Matrices and Vectors; see rtable).
The setting of UseHardwareFloats is also honored inside procedures that have option hfloat.
The default value of UseHardwareFloats is deduced. The value deduced tells Maple to deduce the computation environment (hardware or software) from the current setting of the Digits environment variable: if Digits <= evalhf(Digits), then hardware float computation is allowed; otherwise, the computation is performed using software floats.
If UseHardwareFloats is set to true, hardware float computation is always allowed (so long as the expression contains hardware floating-point values of rtables of such, or the expression appears within a procedure having option hfloat).
A false setting of UseHardwareFloats disallows hardware floating-point computations in all contexts except within the evalhf environment. Any hardware float values appearing in expressions are first converted into software floats before operations are performed.
The value of UseHardwareFloats can be changed by using the assignment operator.
Digits ≔ 25:
UseHardwareFloats ≔ true:
Digits ≔ 10:
UseHardwareFloats ≔ false:
Download Help Document