AuFixedPointFromFraction (3)
Leading comments
$NCDId: @(#)AuFPFrFr.man,v 1.1 1994/09/27 00:26:49 greg Exp $ copyright 1994 Steven King portions are * Copyright 1993 Network Computing Devices, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name Network Computing...
Name
AuFixedPointFromFraction - make a fixed point value.Synopsis
#include <audio/audiolib.h>
AuFixedPoint AuFixedPointFromFraction(nnn, ddd)
int nnn;
int ddd;
Arguments
- nnn
- Specifies the numerator.
- ddd
- Specifies the denominator.
Description
AuFixedPointFromFraction constructs a fixed point value by dividing nnn by ddd.AuFixedPointFromFraction is implemented as a macro.
See Also
AuFixePointFractionalAddend, AuFixePointFromSum, AuFixePointIntegralAddend, AuFixePointRoundDown, AuFixePointRoundUp.audiolib - Network Audio System C Language Interface