Changeset 802a8c8 in mainline for uspace/lib/math/arch/amd64/include/libarch/math.h
- Timestamp:
- 2018-07-16T11:27:30Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c45dc5e1
- Parents:
- 58daded
- git-author:
- Jiri Svoboda <jiri@…> (2018-07-16 06:27:08)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-07-16 11:27:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/amd64/include/libarch/math.h
r58daded r802a8c8 51 51 #include <log.h> 52 52 #include <log10.h> 53 #include <log2.h> 53 54 #include <mathtypes.h> 54 55 #include <modf.h> … … 209 210 } 210 211 212 static inline float32_t log2_f32(float32_t val) 213 { 214 return float32_log2(val); 215 } 216 217 static inline float64_t log2_f64(float64_t val) 218 { 219 return float64_log2(val); 220 } 221 211 222 static inline float64_t modf_f64(float64_t value, float64_t *iptr) 212 223 { … … 431 442 { 432 443 return log10_f32(val); 444 } 445 446 static inline float64_t log2(float64_t val) 447 { 448 return log2_f64(val); 449 } 450 451 static inline float32_t log2f(float32_t val) 452 { 453 return log2_f32(val); 433 454 } 434 455
Note:
See TracChangeset
for help on using the changeset viewer.