Jon Elson wrote:
> Yup, I found it!  There is an abs instead of an fabs.  Most other 
> languages fit their
> arithmetic library function to the passed argument, but not C!  So, if 
> you say
> float_variable = abs (float_variable) it gets silently integer-ized.  
> Sheesh, it ought to at least give a warning.
>   
OK, I have tested the change and committed it to the development head, 
if anybody
needs the fix right away.  The DAC value now allows fractional values to be
passed to the DAC and use the basic resolution of the DAC device (8-bits).

Thanks Don for locating a latent bug that has been there at least 5 years!

Jon

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to