Interesting ...  thanks for digging deeper.  I don't think I will get a chance 
to take a look till tomorrow though.

Piotr

btw - I just accepted that last attachment email so we should see that soon.

________________________________
From: Peshala Pahalawatta [pp...@ddd.com]
Sent: 25 April 2013 08:21
To: Piotr Stanczyk; openexr-devel@nongnu.org
Subject: RE: [Openexr-devel] [Half] HalfTest Failure

It seems like the problem does not occur in the latest stable version (1.0.3). 
In 2.0.0, half.h includes a file called halfexports.h which is looking for a 
PLATFORM* definition, so I guess that comes from an older branch?

Pesh

From: Piotr Stanczyk [mailto:pstanc...@ilm.com]
Sent: Wednesday, April 24, 2013 4:27 PM
To: Peshala Pahalawatta; openexr-devel@nongnu.org
Subject: RE: [Openexr-devel] [Half] HalfTest Failure

Could you email me the toFloat tables .. thanks

Piotr
________________________________
From: Peshala Pahalawatta [pp...@ddd.com]
Sent: 24 April 2013 16:25
To: Piotr Stanczyk; openexr-devel@nongnu.org<mailto:openexr-devel@nongnu.org>
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:pstanc...@ilm.com]
Sent: Wednesday, April 24, 2013 4:23 PM
To: Peshala Pahalawatta; 
openexr-devel@nongnu.org<mailto:openexr-devel@nongnu.org>
Subject: RE: [Openexr-devel] [Half] HalfTest Failure

hmm - what hardware are you running this on?
________________________________
From: 
openexr-devel-bounces+pstanczyk=ilm....@nongnu.org<mailto:openexr-devel-bounces+pstanczyk=ilm....@nongnu.org>
 [openexr-devel-bounces+pstanczyk=ilm....@nongnu.org] on behalf of Peshala 
Pahalawatta [pp...@ddd.com]
Sent: 24 April 2013 16:14
To: openexr-devel@nongnu.org<mailto:openexr-devel@nongnu.org>
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



_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to