Skip to content

Commit

Permalink
Merge branch 'work'
Browse files Browse the repository at this point in the history
  • Loading branch information
oktonion committed Jan 28, 2021
2 parents 194bd06 + 22262a4 commit 23ad638
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ All notable changes to stdex library project will be documented in this file.

visit [https://github.com/oktonion/stdex](https://github.com/oktonion/stdex) for the latest version of stdex library

## [0.2.8] - 2020-01-26
## [0.2.9] - 2021-xx-xx

### Added

### Changed

### Fixed


## [0.2.8] - 2021-01-26

### Added

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ master | [![Build Status](https://travis-ci.org/oktonion/stdex.svg?branch=mast

C++ 11 standard library implementation with extra features using C++98 only and POSIX threads. Minimum ugly preprocessor macro and no configuration files. The library itself is built on top of C++ standard library distributed with your compiler and just extends it with C++11 features.

[Usage examples on Wiki](https://github.com/oktonion/stdex/wiki/Architecture-overview#what-to-expect)

## Supported platforms

* Windows (from XP to 10)
Expand Down
2 changes: 1 addition & 1 deletion stdex/include/string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ namespace stdex
if (errno == ERANGE)
#endif
num_s_end = 0;
else if (_value > static_cast<double>(std::numeric_limits<_Tp>::max()) || _value < static_cast<double>(-std::numeric_limits<_Tp>::max()))
else if (_value > static_cast<double>((std::numeric_limits<_Tp>::max)()) || _value < static_cast<double>(-(std::numeric_limits<_Tp>::max)()))
{
_value = (std::numeric_limits<_Tp>::max)();
num_s_end = 0;
Expand Down

0 comments on commit 23ad638

Please sign in to comment.