qdtk / openshadinglanguage

Automatically exported from code.google.com/p/openshadinglanguage
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Optimize "pow" #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Re-implement pow() to special-case the common situation of the power being 
uniform and 0, 1, or 
2.

Also consider making a pow (float, int) version.

Original issue reported on code.google.com by rene.lim...@gmail.com on 11 Jan 2010 at 6:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by rene.lim...@gmail.com on 13 Jan 2010 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by larrygr...@gmail.com on 20 Jan 2010 at 6:42