Changes between Initial Version and Version 1 of Ticket #14485, comment 15


Ignore:
Timestamp:
2017-11-18T22:11:19+01:00 (8 years ago)
Author:
michael2402

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14485, comment 15

    initial v1  
    11How exact should the documentation be? As far as I know, MapCSS has no real requirements on floating point values since there is no real spec for it.
    22
    3 The numeric range is approx -3.4 * 10^38 ... 3.4 * 10^38, with a precision of ~5 decimal digits. So having 1.0001 and 1.0002 should be fine, and having 10001 and 10002 should be fine as well ;-).
     3The numeric range is approx -3.4 * 10^38^ ... 3.4 * 10^38^, with a precision of ~5 decimal digits. So having 1.0001 and 1.0002 should be fine, and having 10001 and 10002 should be fine as well ;-).
    44
    55There are many other limitations on floating point values we have (e.g. numbers are not allowed to start with a '.'). I don't think we can document them all - if we would do that we could as well write a real MapCSS specification with exact grammar and so on and then state our differences.