Monday, November 30, 2009

LC_NUMERIC

I was recently involved in a thread on ITK mailing list, where it was discussed the use of LC_NUMERIC. In DICOM it is very important to write floating point number in C-style format.

At first I thought I could test using:

http://groups.google.com/group/comp.lang.c++/browse_thread/thread/a881d87a65b260b7

well in fact it is much more complex:

http://gdcm.svn.sf.net/viewvc/gdcm/trunk/Testing/Source/DataStructureAndEncodingDefinition/Cxx/TestLCNumeric.cxx?view=markup

Now I can setup test to check whether GDCM is LC_NUMERIC independant or not !

No comments: