Changeset 2263 for pjproject/trunk
- Timestamp:
- Sep 5, 2008 1:35:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/math.h
r1960 r2263 168 168 PJ_INLINE(unsigned) pj_math_stat_get_stddev(pj_math_stat *stat) 169 169 { 170 if (stat->n == 0) return 0; 170 171 return (pj_isqrt((unsigned)(stat->m2_/stat->n))); 171 172 }
Note: See TracChangeset
for help on using the changeset viewer.