Opened 12 years ago

Last modified 7 years ago

#4378 new Bugs

numeric/interval/hw_rounding.hpp upgrade to accept __SUNPRO_CC rounding control mechanism

Reported by: anonymous Owned by: Boris Gubenko
Milestone: Boost 1.44.0 Component: interval
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc: stephen.clamage@…

Description

This fix upgrades

boost/numeric/interval/hw_rounding.hpp

file which allows several numeric/interval benchmarks to be successfully built and run.

Without this fix those benchmarks produce the following error message:

"error Boost.Numeric.Interval: Please specify rounding control mechanism."

Please note that for successful build of mentioned benchmarks on x86 Solaris 5.10 platform you need to install Solaris patch 119967-01.

This patch has fix for bug in <fenv.h> system file which othervise will fail with syntax errors.

There is no problem on Open Solaris though.

Attachments (1)

hw_rounding.patch (674 bytes ) - added by sergey.sprogis@… 12 years ago.
adds 2 lines into boost/numeric/interval/hw_rounding.hpp

Download all attachments as: .zip

Change History (3)

by sergey.sprogis@…, 12 years ago

Attachment: hw_rounding.patch added

adds 2 lines into boost/numeric/interval/hw_rounding.hpp

comment:1 by Steven Watanabe, 12 years ago

Component: Noneinterval
Owner: set to Boris Gubenko

comment:2 by Aparna Kumta <aparna.kumta@…>, 7 years ago

The hw_rounding.patch might doesn't seem to be totally correct. Please see PR https://github.com/boostorg/interval/pull/9 submitted for this ticket. Thanks.

Note: See TracTickets for help on using tickets.