Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/Core/Common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ try_compile(
${CMAKE_CURRENT_SOURCE_DIR}/CMake/itkCheckHasSchedGetAffinity.cxx
)

# Check for thread-local locale functions for NumericLocale
# Check for thread-safe locale functions (locale-independent parsing in itkStringConvert)
try_compile(
ITK_HAS_NEWLOCALE
${ITK_BINARY_DIR}
Expand Down
84 changes: 0 additions & 84 deletions Modules/Core/Common/include/itkNumericLocale.h

This file was deleted.

4 changes: 4 additions & 0 deletions Modules/Core/Common/include/itkStringConvert.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ namespace itk
* `context` describing what was being parsed (e.g.
* ``"NRRD header field 'sizes'"``) plus the offending input string.
*
* The floating-point helpers parse with an explicit "C" locale, so `.` is the
* decimal separator regardless of the ambient `LC_NUMERIC` locale. Underflow to
* a subnormal or zero is a valid value; only overflow throws.
*
* **Fixed-width integer return types** are used (`int32_t`, `int64_t`,
* `uint32_t`, `uint64_t`) rather than the platform-dependent C++
* spellings (`int`, `long`, `unsigned long`). The C++ Standard only
Expand Down
1 change: 0 additions & 1 deletion Modules/Core/Common/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ set(
itkMultipleLogOutput.cxx
itkMultiThreaderBase.cxx
itkNumberToString.cxx
itkNumericLocale.cxx
itkNumericTraits.cxx
itkNumericTraitsCovariantVectorPixel.cxx
itkNumericTraitsDiffusionTensor3DPixel.cxx
Expand Down
156 changes: 0 additions & 156 deletions Modules/Core/Common/src/itkNumericLocale.cxx

This file was deleted.

Loading
Loading