@Igor Tandetnik yes, i'm asking what the underlying algorithm is behind std::trunc, as this function would be used to then round a number. Since std is not open source, would you be able to tell me what goes on behind the scenes there? Thanks in advance.