-
Notifications
You must be signed in to change notification settings - Fork 756
Description
rad has been a valid angular unit since they have existed in CSS, but it never has been useful or widely used. A major reason for this, despite popular familiarity with degrees, is most probably that values in radians tend to be long floats with a single digit before the decimal marker and hence make authors feel unable to express definite values that won’t be rounded in an unexpected way. (Many intuitively expect decimal rounding, although it’s usually hexadecimal/binary.) This is due to a lack of the constant π in CSS.
Although a turn unit has already been defined, which equals 2π, I’d like to suggest another unit for radians muliplied by π: either pirad or just pi. It’s okay to defer it to the next level, although I believe it should already have been included in Level 2.
Length units may benefit from other irrational multipliers, e.g. √2, but there’s no obvious identifier comprised of only ASCII letters for them (unless you wanted 1sqrttwomm). We do have precedents for unit prefixes with dp…, ms and kHz (and if there was m, also mm and cm).