From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 6 Feb 2010 10:57:48 -0500 To: 9fans@9fans.net Message-ID: In-Reply-To: <2576c2.1a8ca4f7.1333.mx@tumtum.plumbweb.net> References: <2576c2.1a8ca4f7.1333.mx@tumtum.plumbweb.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] NaN, +Inf, and -Inf, constants? Topicbox-Message-UUID: ce68197c-ead5-11e9-9d60-3106f5b1d025 > One thing leading to another, I am currently centralizing constants, and > found that enums can hold doubles (which is quite nice), but I have no > way of defining NaN or Inf as a constant, is there such a way? > > Or is there a way to evaluate constant functions at compile time (eep)? NaN(2) and Inf(2) are not constant functions. the result depends on the settings of the fcr (getfcr(2)). - erik