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


Ignore:
Timestamp:
2015-09-17T16:16:25Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b23d05
Parents:
ba8eecf
Message:

Add all functions required by C89 plus their single-precision variants from C99.

File:
1 edited

Legend:

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

    rba8eecf rb69786e  
    11/*
    22 * Copyright (c) 2011 Petr Koupy
     3 * Copyright (c) 2015 Jiri Svoboda
    34 * All rights reserved.
    45 *
     
    3839#include <libarch/math.h>
    3940
     41#define M_LN10 2.30258509299404568402
    4042#define M_LN2 0.69314718055994530942
    4143#define M_LOG2E 1.4426950408889634074
    4244#define M_PI 3.14159265358979323846
     45#define M_PI_2 1.57079632679489661923
    4346
    4447#endif
Note: See TracChangeset for help on using the changeset viewer.