Re: [w3ctag/design-reviews] [CSS-Values-4] FYI review of Allow infinity, -infinity and NaN in CSS calc() (Issue #708)

Hi @DevSDK,

We briefly looked at this today during a breakout and had a question. We were a little troubled by:

> According to the [spec](https://www.w3.org/TR/css-values-4/#top-level-calculation), It says "If a top-level calculation (a math function not nested inside of another math function) would produce a value whose numeric part is NaN, it instead act as though the numeric part is +∞." Therefore NaN will be calculated as positive infinity.

What is the reasoning to make NaN behave as +Infinity?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/708#issuecomment-1032081302

You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/708/1032081302@github.com>

Received on Tuesday, 8 February 2022 00:25:35 UTC