*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> audio/alFixedToDouble (3d)              
Title
Content
Arch
Section
 

Contents


alDoubleToFixed(3dm)					  alDoubleToFixed(3dm)


NAME    [Toc]    [Back]

     alFixedToDouble, alDoubleToFixed -	convert	between	AL fixed-point and
     double-precision floating-point

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/audio.h>

     long long alDoubleToFixed(double d)

     double alFixedToDouble(long long f)

PARAMETER    [Toc]    [Back]

     d	  expects a double-precision value.

     f	  expects a 64-bit fixed-point value (long long).

DESCRIPTION    [Toc]    [Back]

     alDoubleToFixed converts from a double-precision floating-point value to
     the closest AL-format (32.32) fixed-point value.

     alFixedToDouble converts from an AL-format	(32.32)	fixed-point value to
     the closest double-precision floating-point value.

DIAGNOSTICS    [Toc]    [Back]

     Neither function will return errors.

SEE ALSO    [Toc]    [Back]

      
      
     alParams(3dm)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
Tie::SubstrHash IRIX Fixed-table-size, fixed-key-length hashing
strtod FreeBSD convert ASCII string to floating point
ecvt Linux convert a floating-point number to a string.
gcvt Linux convert a floating-point number to a string.
strtold FreeBSD convert ASCII string to floating point
strtof FreeBSD convert ASCII string to floating point
ecvt IRIX convert floating-point number to string
strtod Linux convert ASCII string to floating point number
frexp NetBSD convert floating-point number to fractional and integral components
frexp Linux convert floating-point number to fractional and integral components
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service