Opened 13 years ago

Closed 13 years ago

#3360 closed Bugs (fixed)

scaled year streamed as seconds to the standard output

Reported by: sergio.pasra@… Owned by: Steven Watanabe
Milestone: Boost 1.40.0 Component: units
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

I'm using the precompiled version of boost in Fedora linux 11, boost 1.37.

If I create a base unit scaled from metric::year_base_unit (les say a giga year), the value written in the standard ouput is correct, but the units are Giga seconds instead of gigayears

Using years: 2.50336e+09 yr Using Gigayears: 2.50336e Gs (it should be Gyr)

Attachments (1)

units-bug.cc (682 bytes ) - added by sergio.pasra@… 13 years ago.
A program showing the bug

Download all attachments as: .zip

Change History (3)

by sergio.pasra@…, 13 years ago

Attachment: units-bug.cc added

A program showing the bug

comment:1 by Steven Watanabe, 13 years ago

Owner: changed from Matthias Schabel to Steven Watanabe
Status: newassigned

comment:2 by Steven Watanabe, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [55698]) Use base_unit_info when computing the name of a scaled base_unit. Fixes #3360.

Note: See TracTickets for help on using tickets.