Landing: 9a135e85c2e6

Project / Subsystem

gcc / cobol

Date

2026-09-05

Author

Robert Dubner

Commit

9a135e85c2e6543031657ce637e22e1eab004493

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
9a135e85c2e6543031657ce637e22e1eab004493
source_type
github
headline
Cobol rounding modes are repaired.
tldr
Fixes incorrect rounding in COBOL arithmetic operations.
author
Robert Dubner
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • bugfix
  • • arithmetic
discussion_id_link
—
bugzilla_pr
—
date
2026-09-05T00:00:00.000Z

COBOL supports eight rounding modes for arithmetic operations. Recent testing revealed errors in these modes, which this commit corrects. The rounding routine has been moved from libgcobol.cc to gmath.cc to improve organization.