TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Picomath: self-contained math functions in 11 languages

33 pointsby johndcookalmost 14 years ago

8 comments

Deutscheralmost 14 years ago
I didn't check them all, but I got 403 and blank pages when trying to access the python and C++ files respectively.
评论 #2759577 未加载
评论 #2759555 未加载
评论 #2759561 未加载
评论 #2759640 未加载
评论 #2759449 未加载
SlyShyalmost 14 years ago
Pretty cool. The Ruby port is of questionable use, considering erf, gamma, etc. are already implemented in the Math module.
评论 #2760206 未加载
kungfu71186almost 14 years ago
I was just wondering, what would you use the gamma function for? I'm not that far enough in the mathematical field to know, so that's why i ask. Maybe a real world example? Thanks.
评论 #2760628 未加载
andrewcookealmost 14 years ago
thanks for this. but why not make the c++ examples c? then both c and c++ users can use them (and other languages wrap them more easily). looking at a few examples, it shouldn't be too much work.
brianobushalmost 14 years ago
No C? Seems like one would have done these in C instead of C++. Not that there is much to change, but it would suite a wider audience.
tzsalmost 14 years ago
Cool. It could be useful to add the incomplete gamma functions. They are used in calculating the chi squared distribution, and so come up in analyzing A/B testing.
Tanneralmost 14 years ago
Great! I had been passively looking for a lua gamma function to replace one I had been using since lmathx can't be compiled on Windows. Passively found!
johndcookalmost 14 years ago
The site has been updated to fix the problem with the source being invisible.