openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] [Half] HalfTest Failure


From: Piotr Stanczyk
Subject: Re: [Openexr-devel] [Half] HalfTest Failure
Date: Wed, 24 Apr 2013 23:27:07 +0000

Could you email me the toFloat tables .. thanks

Piotr


From: Peshala Pahalawatta address@hidden
Sent: 24 April 2013 16:25
To: Piotr Stanczyk; address@hidden
Subject: RE: [Openexr-devel] [Half] HalfTest Failure

It’s an Intel Core i7 CPU running Windows 7 64bit but I’m compiling with Win32. Do you need more info?

 

Pesh

 

From: Piotr Stanczyk [mailto:address@hidden
Sent: Wednesday, April 24, 2013 4:23 PM
To: Peshala Pahalawatta; address@hidden
Subject: RE: [Openexr-devel] [Half] HalfTest Failure

 

hmm - what hardware are you running this on?


From: openexr-devel-bounces+address@hidden [openexr-devel-bounces+address@hidden on behalf of Peshala Pahalawatta address@hidden
Sent: 24 April 2013 16:14
To: address@hidden
Subject: [Openexr-devel] [Half] HalfTest Failure

I have downloaded ILMBase_2.0.0 and compiled it on Visual Studio 2005. I get an error message when running HalfTest saying, HalfTest.exe has stopped working, after the following lines:

1>Running HalfTest unit tests...

1>testing type half:

1>size and alignment

1>sizeof  (half) = 2

1>alignof (half) = 2

1>ok

1>basic arithmetic operations:

1>f1 = 1, f2 = 2, h1 = -27.1875, h2 = -19.1875

 

The problem seems to be in assert (h1 == 3) on Line 30 of testArithmetic.cpp where it does _toFloat[_h] with _h = 52940, and _toFloat[52940] is not actually available. I’m not completely sure how _toFloat is populated. The compiler has created a toFloat.h and eLut.h file in the Half directory, so the tables seem to be already available. Any advice on this would be much appreciated.

 

Best regards,

Pesh

 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]