Ignore:
Timestamp:
07/08/20 01:53:39 (4 years ago)
Author:
Maciej Komosinski
Message:

Improved float-rounding functions, follow-up to r970

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_math.h

    r970 r979  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2019  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    3535int doubleToString(double x, int precision, char *buffer, int bufferlen);
    3636
     37#include <string>
     38std::string doubleToString(double x, int precision);
    3739double round(const double x, const int precision);
    3840
Note: See TracChangeset for help on using the changeset viewer.