Re: [Owfs-developers] lrint() changes

2008-05-11 Thread Christian Magnusson
@lists.sourceforge.net Subject: Re: [Owfs-developers] lrint() changes I only used that for a quick fix to a problem connected with the 1821 returning negative temperatures and causing a crash. I agree that it's not worth creating a dependency for so I would be happy to code it into the 1821 support if you

Re: [Owfs-developers] lrint() changes

2008-05-11 Thread Doug Collinge
Of *Doug Collinge *Sent:* den 11 maj 2008 01:16 *To:* owfs-developers@lists.sourceforge.net *Subject:* Re: [Owfs-developers] lrint() changes I only used that for a quick fix to a problem connected with the 1821 returning negative temperatures and causing a crash. I agree that it's

[Owfs-developers] lrint() changes

2008-05-10 Thread Christian Magnusson
We have to make some more changes in configure.ac after lrint() is used in ow_1821.c. This function is located in libm.so, and this is the first dependency to this library. I think it's a waste of memory to add a new dynamic library if we only use one single function in it from owlib..

Re: [Owfs-developers] lrint() changes

2008-05-10 Thread Doug Collinge
I only used that for a quick fix to a problem connected with the 1821 returning negative temperatures and causing a crash. I agree that it's not worth creating a dependency for so I would be happy to code it into the 1821 support if you give me a few days to code and test. On Sat, May 10, 2008

Re: [Owfs-developers] lrint() changes

2008-05-10 Thread Paul Alfille
Sorry for causing problems with lrint. It seemed sensible to use an existing rounding/conversion routine rather than rolling our own. I didn't realize we'd need to bring in a whole new library with it. Paul On Sat, May 10, 2008 at 7:16 PM, Doug Collinge [EMAIL PROTECTED] wrote: I only used