Changeset b0b4592e in mainline for uspace/lib/math/include/math.h


Ignore:
Timestamp:
2014-03-15T19:21:53Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
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.
Message:

Merge mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/math/include/math.h

    r2034f98 rb0b4592e  
    2727 */
    2828
    29  /** @addtogroup libc
     29/** @addtogroup libmath
    3030 * @{
    3131 */
    32 /** @file
     32/** @file Mathematical operations.
    3333 */
    3434
    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_
    3837
    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>
    4439
    45         return ret;
    46 }
     40#define M_PI  3.14159265358979323846
     41
     42#endif
    4743
    4844/** @}
Note: See TracChangeset for help on using the changeset viewer.