<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -252,7 +252,7 @@ LUALIB_API int luaopen_math (lua_State *L) {
   luaL_register(L, LUA_MATHLIBNAME, mathlib);
   lua_pushnumber(L, PI);
   lua_setfield(L, -2, &quot;pi&quot;);
-  lua_pushnumber(L, HUGE_VAL);
+  lua_pushnumber(L, DBL_MAX);
   lua_setfield(L, -2, &quot;huge&quot;);
 #if defined(LUA_COMPAT_MOD)
   lua_getfield(L, -1, &quot;fmod&quot;);</diff>
      <filename>src/lmathlib.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b5da1a99942dfdbdfbb8f0d20b5add84e434ab1f</id>
    </parent>
  </parents>
  <author>
    <name>gwell</name>
    <email>gwellisch@hotmail.com</email>
  </author>
  <url>http://github.com/ynezz/luace/commit/cccd831468629950c46b09e2dbd45b843b50d5cc</url>
  <id>cccd831468629950c46b09e2dbd45b843b50d5cc</id>
  <committed-date>2009-09-11T03:38:20-07:00</committed-date>
  <authored-date>2009-05-15T12:11:27-07:00</authored-date>
  <message>For some reason, in the 2003 emulator, HUGE_VAL is negative.  Use DBL_MAX instead.

Signed-off-by: Petr &#352;tetiar &lt;ynezz@true.cz&gt;</message>
  <tree>a9b7024d3e307d25b4686d66044ed98ad95c4907</tree>
  <committer>
    <name>Petr &#352;tetiar</name>
    <email>ynezz@true.cz</email>
  </committer>
</commit>
