[Insight-developers] Problems with vnl_math_rnd

Luis Ibanez luis.ibanez at kitware.com
Mon Nov 13 09:05:54 EST 2006


Hi Bill,


Now that the release has been tagged, and the repository is
still under control, would you like to commit the fixes for
the vnl_math_rnd problem ?


It will be nice to solve the known issues before we allow
new changes to go into the toolkit.



    Luis


------------------------------------------
Lorensen, William E (GE, Research) wrote:
> Folks,
> 
> Fisrt of all, this is not critical for the release.
> 
> I was tracing down some test failues on windows vs70 and vs71. There are
> three related tests that are failing:
> 
> itkInterpolateTest, ResampleImageFilter3Test1 and
> ResampleImageFilter9Test.
> 
> Vnl_math_rnd uses assember code to round floating point numbers for some
> windows compilers. Apparently, these round up on .5 rather than rounding
> down. I temporary replaced the vnl_math_rnd call in itkImageFunction
> with a C version and all of the three tests passed.
> 
> We should look at this after the release. It only affecte nearest
> neighborhood calculations.
> 
> Bill
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
> 


More information about the Insight-developers mailing list