Some problem about half

Yan <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
Dear all,

I have a problem about half.
I read the *.exr image using the openexr library 2.2.0, and then copy the 
value from the array.
But, when I compare the original and the copy value, I found that they are 
not the same!
This situation occurs when the 16-bit unsigned integer of half is bigger 
than 31744.

Here is my c++ code and the output is "no.":
half tempR;
tempR = rUncompressionPixels[0][0];
if(rUncompressionPixels[0][0] != tempR)
{
	cout << "no." << endl;
}

Does there have any update of openexr library to solve this problem?

Yan 2015.01.20
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.