Changeset 555 for abuse/trunk/src/imlib/palette.cpp
- Timestamp:
- Apr 29, 2011, 9:18:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/palette.cpp
r534 r555 5 5 * 6 6 * This software was released into the Public Domain. As with most public 7 * domain software, no warranty is made or implied by Crack dot Com or8 * Jonathan Clark .7 * domain software, no warranty is made or implied by Crack dot Com, by 8 * Jonathan Clark, or by Sam Hocevar. 9 9 */ 10 10 11 #include "config.h" 11 #if defined HAVE_CONFIG_H 12 # include "config.h" 13 #endif 12 14 13 15 #include <math.h> … … 143 145 else 144 146 { 145 v=(int) ((double)i+(double)(sqrt(63 -i)));147 v=(int) ((double)i+(double)(sqrt(63.0-i))); 146 148 v<<=2; 147 149 }
Note: See TracChangeset
for help on using the changeset viewer.