title: How does one set a floating-point to infinite in Open Shading Language?
body: <p>I'm doing some materials work right now using Open Shading Language (OSL), and it has a convenient function, <code>isinf()</code>, which will determine whether a floating-point is infinite or not...</p>
  <p>However, I can't find anything in the documentation about actually setting a variable to infinite. I'm instead going to be setting it to &quot;irrationally large&quot;, which will certainly work well enough for my purposes (effectively cell noise generation), but I'm curious whether there's a built-in way to express infinity in OSL?</p>