Changeset b0b4592e in mainline for uspace/lib/math/include/math.h
- Timestamp:
- 2014-03-15T19:21:53Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c773adc
- Parents:
- 2034f98 (diff), 8cffdf5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/include/math.h
r2034f98 rb0b4592e 27 27 */ 28 28 29 /** @addtogroup libc 29 /** @addtogroup libmath 30 30 * @{ 31 31 */ 32 /** @file 32 /** @file Mathematical operations. 33 33 */ 34 34 35 #include <errno.h> 36 #include <ipc/dev_iface.h> 37 #include <device/graph_dev.h> 35 #ifndef LIBMATH_MATH_H_ 36 #define LIBMATH_MATH_H_ 38 37 39 int graph_dev_connect(async_sess_t *sess) 40 { 41 async_exch_t *exch = async_exchange_begin(sess); 42 int ret = async_req_1_0(exch, DEV_IFACE_ID(GRAPH_DEV_IFACE), GRAPH_DEV_CONNECT); 43 async_exchange_end(exch); 38 #include <libarch/math.h> 44 39 45 return ret; 46 } 40 #define M_PI 3.14159265358979323846 41 42 #endif 47 43 48 44 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.