Changeset 925a21e in mainline for uspace/lib/posix/math.c


Ignore:
Timestamp:
2011-09-24T14:20:29Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5bf76c1
Parents:
867e2555 (diff), 1ab4aca (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/posix/math.c

    r867e2555 r925a21e  
    11/*
    2  * Copyright (c) 2011 Martin Decky
     2 * Copyright (c) 2011 Petr Koupy
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libc
     29/** @addtogroup libposix
    3030 * @{
    3131 */
    32 /** @file
     32/** @file Mathematical operations.
    3333 */
    3434
    35 #include <async.h>
    36 #include <async_obsolete.h>
    37 #include <ns_obsolete.h>
    38 #include <kernel/ipc/ipc_methods.h>
     35#define LIBPOSIX_INTERNAL
    3936
    40 int service_obsolete_connect(sysarg_t service, sysarg_t arg2, sysarg_t arg3)
     37#include "internal/common.h"
     38#include "math.h"
     39
     40/**
     41 *
     42 * @param x
     43 * @param exp
     44 * @return
     45 */
     46double posix_ldexp(double x, int exp)
    4147{
    42         return async_obsolete_connect_me_to(PHONE_NS, service, arg2, arg3);
     48        // TODO: low priority, just a compile-time dependency of binutils
     49        not_implemented();
    4350}
    4451
    45 int service_obsolete_connect_blocking(sysarg_t service, sysarg_t arg2, sysarg_t arg3)
     52/**
     53 *
     54 * @param num
     55 * @param exp
     56 * @return
     57 */
     58double posix_frexp(double num, int *exp)
    4659{
    47         return async_obsolete_connect_me_to_blocking(PHONE_NS, service, arg2, arg3);
     60        // TODO: low priority, just a compile-time dependency of binutils
     61        not_implemented();
    4862}
    4963
Note: See TracChangeset for help on using the changeset viewer.