Ignore:
Timestamp:
02/10/14 17:07:20 (10 years ago)
Author:
sz
Message:

(c)opyright information added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_math.h

    r109 r122  
     1// This file is a part of the Framsticks GDK.
     2// Copyright (C) 2002-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
     3// Refer to http://www.framsticks.com/ for further information.
     4
    15#ifndef _NONSTD_MATH_H_
    26#define _NONSTD_MATH_H_
     
    2832#define setRandomRandomSeed() rndGetInstance().randomize()
    2933
     34
    3035//floating point specific numbers
    3136#include "stdlib.h"
     
    3742#endif
    3843
     44#ifdef LINUX
     45  #define _isnan(a) isnan(a)
     46#endif
     47
    3948#ifdef IPHONE
    4049        #define finite(x) (!isinf(x))
     50  #define _isnan(a) isnan(a)
    4151#endif
    4252
    4353
    44 #if defined SHP && !defined TIZEN
     54#if defined SHP
    4555 //#define __assert_func(a,b,c,d) 0 //Currently, we are sorry to inform you that assert() is not yet supported. We have considered your request for internal discussion. Na szczêœcie jest w³asna (byle by by³a, bo i tak zak³adamy ze assert ktore przeciez dziala tylko w trybie debug nie jest potrzebne na bada) implementacja w "bada-assert.cpp"
    4656 #define isnan(x) false //isnan() sie nie linkuje
Note: See TracChangeset for help on using the changeset viewer.