d05539378c
* Bug: In CRL/GdsStream::toGdsDbu(), when converting a physical number, in double to a number of GDSII dbu in int32_t, we must not use the direct cast int32_t(v) because v can be 2.9999999999 which got simply truncated into 2 while we want 3. So now use the rounding function std::lrint() and configure it round to the *nearest* integer. Note that we don't check that the long returned can correctly fit into int32_t. |
||
---|---|---|
.. | ||
cmake_modules | ||
doc | ||
etc | ||
python | ||
src | ||
CMakeLists.txt |