CellML Discussion List

Text archives Help


[cellml-discussion] Include_in_CellML_1.2 requested: [Tracker Item 84] Locale differences for real number formats


Chronological Thread 
  • From: cellml-tracker at cellml.org (cellml-tracker at cellml.org)
  • Subject: [cellml-discussion] Include_in_CellML_1.2 requested: [Tracker Item 84] Locale differences for real number formats
  • Date: Sat, 28 Jul 2007 09:37:21 +1200 (NZST)

Andrew Miller <ak.miller at auckland.ac.nz> has asked for
Include_in_CellML_1.2:
Tracker Item 84: Locale differences for real number formats
http://bowmore.elyt.com/bugzilla/show_bug.cgi?id=84

------- Additional Comments from Andrew Miller <ak.miller at auckland.ac.nz>
The CellML Specification says that several different attributes must be real
numbers, but doesn't specify the format in which these real numbers are
expressed.

The common computer formats for representing real numbers in text differ from
locale to locale, and so a valid real number in one locale may be invalid in
another, therefore harming the interoperability of CellML models.

I propose that we provide a basic specification of allowable real number
representations in text for use in attributes such as exponent, initial_value,
and so on.

MathML 2.0 already deals with this through the following text: "The cn element
is used to specify actual numerical constants. The content model must provide
sufficient information that a number may be entered as data into a
computational system. By default, it represents a signed real number in base
10. Thus, the content normally consists of PCDATA restricted to a sign, a
string of decimal digits and possibly a decimal point, or alternatively one of
the predefined symbolic constants such as &pi;".



  • [cellml-discussion] Include_in_CellML_1.2 requested: [Tracker Item 84] Locale differences for real number formats, cellml-tracker at cellml.org, 07/28/2007

Archive powered by MHonArc 2.6.18.

Top of page