W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

Re: [csswg-drafts] [css-syntax][css-values] Add IEEE 754 float hex format SVG/CSS values (#4564)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Dec 2019 22:03:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-562338929-1575583390-sysbot+gh@w3.org>
So it looks like you're just asking for a new way to write numbers, right? You want to write out numbers as the literal bit pattern of a 32-bit float.

I feel pretty confident that we'll reject this without a *very* good reason otherwise.

* All of the numbers in your example are *much longer* written that way than in the normal way as integers (where they need only 2-3 characters). I'd like to see examples of numbers which a) require more than 10 characters to write in standard decimal, and b) actually require the precision of those extra digits.
* Float bit patterns are unreadable by humans. I have to do some *work* to decipher 0x42480000 into 50⏨, and the only reason I can do so is because I'm weird and find the minutia of bit patterns interesting to remember.

You mention "high precision line screen/half tone for print for use SVG replace PDF" - what do you mean by this? Why do you need a 32-bit float syntax specifically to achieve this?

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4564#issuecomment-562338929 using your GitHub account
Received on Thursday, 5 December 2019 22:03:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC