naginterfaces.library.blas.ddiv

naginterfaces.library.blas.ddiv(a, b)[source]

ddiv computes the quotient of two real scalars.

For full information please refer to the NAG Library document for f06bl

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06blf.html

Parameters
afloat

The value .

bfloat

The value .

Returns
divfloat

The quotient of the two real scalars.

failbool

if would overflow (in which case ) or (in which case ); otherwise .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.

ddiv returns the value , where

Here is the large value given by , and is taken as .