j0101s
j0101s
Hi guys.. I made a test code for this. Where can I upload? There is a big problem in precision under hhvm. I made the same code in Perl as...
I uploaded the code at http://3v4l.org/u5lAN $year = 2014; // can be any calendar year: start_year $limit = 2030; // can be any calendar year: end_year
never thought that. very strange behavior. It's gotta be fixed anyway.
Right I figured it out the same way as you guys explained. I think php community should also adopt mpfr as quickly as possible(if this is the right option). There...
I just found out this. Under the same each platform(php or hhvm), those forms(ex1 and ex2) give different results. Aren't those the same arithmetic order? It's floating point addition. Floating...
I only ran that script just to check file io performance. Think of how much file io take place nowadays. Especially logging, reading and writing raw data, etc. This definitely...
It's surprising that you don't know how important io is. If io is not that significant, why hdd gets bigger? Why people care about big data? File accessing is one...
http://3v4l.org/Z0bmQ http://php.about.com/od/phpfunctions/p/php_pi_m_pi.htm Check out the value of pi(). I think the problem comes from the value of pi() or M_PI.
Strangely enough, if I insert `echo` statement to see possible error prone values like below, the problem is gone too. Is it kind of quantum effect? -_-a func1 is used...
I just found that casting arguments like below causes no error. arg1 and arg2 are numeric values read from a file. hhvm has problem of implicit conversion from string to...