This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27855 - A valid floating-point number represents the number obtained by multiplying the significand by ten r [...]
Summary: A valid floating-point number represents the number obtained by multiplying t...
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#floatin...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-19 12:38 UTC by contributor
Modified: 2015-09-01 11:43 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2015-01-19 12:38:22 UTC
Specification: https://html.spec.whatwg.org/multipage/infrastructure.html
Multipage: https://html.spec.whatwg.org/multipage/#floating-point-numbers
Complete: https://html.spec.whatwg.org/#floating-point-numbers
Referrer: https://html.spec.whatwg.org/multipage/common-microsyntaxes.html

Comment:
A valid floating-point number represents the number obtained by multiplying
the significand by ten raised to the power of the exponent, where the
significand is the first number, interpreted as base ten (including the
decimal point and the number after the decimal point, if any, and interpreting
the significand as a negative number if the whole string starts with a U+002D
HYPHEN-MINUS character (-) and the number is not zero), and where the exponent
is the number after the E, if any (interpreted as a negative number if there
is a U+002D HYPHEN-MINUS character (-) between the E and the number and the
number is not zero, or else ignoring a U+002B PLUS SIGN character (+) between
the E and the number if there is one). If there is no E, then the exponent is
treated as zero.

Posted from: 115.160.227.226
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Comment 1 Ian 'Hixie' Hickson 2015-01-22 17:00:42 UTC
Is this just a quote from the spec or is there an issue here?