DATRW++ library: seismic data I/O with multiple formats
|
void datrw::su::ScalCoo::adjustscale | ( | ) |
adjust scale to optimal representation of significant digits
This function removes trailing zeroes from the ScalCoo::coo value, by chosing an appropriate scale value. Upon return from this function the scale power is as large as possible. Any increase in the power of the scale value will result in truncation of the coordinate value.
Definition at line 276 of file sucomanager.cc.
References coo, DATRW_assert, power(), datrw::su::powertoscale(), and scale.
Referenced by main().