W3C home > Mailing lists > Public > public-media-capture@w3.org > November 2016

[mediacapture-image] Pull Request: (#77) s/long/float/ in MediaSettingsRange

From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
Date: Sat, 05 Nov 2016 01:19:29 +0000
To: public-media-capture@w3.org
Message-ID: <pull_request.opened-92437274-1478308768-sysbot+gh@w3.org>
miguelao has just submitted a new pull request for 

== (#77) s/long/float/ in MediaSettingsRange ==
...and removed entries mentioning a x100 multiplier to avoid floating 

Note that the [float](https://heycam.github.io/webidl/#idl-float) idl 
definition mentions:
> Unless there are specific reasons to use a 32 bit floating point 
type, specifications should use double rather than float, since the 
set of values that a double can represent more closely matches an 
ECMAScript Number.

but I feel that `float` can represent all foo our value ranges and is 
smaller in size.

See https://github.com/w3c/mediacapture-image/pull/120
Received on Saturday, 5 November 2016 01:19:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:38 UTC