Skip to content

Commit

Permalink
Merge pull request #429 from Goddard-Fortran-Ecosystem/hotfix/real128…
Browse files Browse the repository at this point in the history
…_format

Hotfix/real128 format  fixes #428
  • Loading branch information
tclune authored Jun 26, 2023
2 parents 74e6f4a + 6b3d98e commit 06a6a4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
cmake_minimum_required(VERSION 3.12)

project (PFUNIT
VERSION 4.7.0
VERSION 4.7.1
LANGUAGES Fortran C)

cmake_policy(SET CMP0077 NEW)
Expand Down
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.7.1] - 2023-06-26

### Fixed

- Increased size of buffer for reporting real values in asserts. Previous length was not quite enough for some 128 bit values, which resulted in EOR failures during execution.

## [4.7.0] - 2023-04-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/funit/asserts/Assert_Real.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ module pf_AssertReal_{rank}d
@overload(assert_relatively_equal, minimal)


integer, parameter :: MAX_LEN_REAL_AS_STRING = 40
integer, parameter :: MAX_LEN_REAL_AS_STRING = 45

contains

Expand Down

0 comments on commit 06a6a4b

Please sign in to comment.