Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
fixtof(3)			Allegro	manual			     fixtof(3)

NAME
       fixtof  -  Converts  a fixed point to floating point. Allegro game pro-
       gramming	library.

SYNOPSIS
       #include	<allegro.h>

       double fixtof(fixed x);

DESCRIPTION
       Converts	fixed point to floating	point. Example:

	  float	result;

	  /* This will put 33.33333 into `result'. */
	  result = fixtof(itofix(100) /	3);
	  /* This will put 16.66666 into `result'. */
	  result = fixtof(itofix(100) /	6);

SEE ALSO
       ftofix(3), itofix(3), fixtoi(3),	exfixed(3), exspline(3), exstars(3)

Allegro				 version 4.4.2			     fixtof(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=fixtof&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help