Changeset 122 for cpp/common/nonstd_math.h
- Timestamp:
- 02/10/14 17:07:20 (11 years ago)
- 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 1 5 #ifndef _NONSTD_MATH_H_ 2 6 #define _NONSTD_MATH_H_ … … 28 32 #define setRandomRandomSeed() rndGetInstance().randomize() 29 33 34 30 35 //floating point specific numbers 31 36 #include "stdlib.h" … … 37 42 #endif 38 43 44 #ifdef LINUX 45 #define _isnan(a) isnan(a) 46 #endif 47 39 48 #ifdef IPHONE 40 49 #define finite(x) (!isinf(x)) 50 #define _isnan(a) isnan(a) 41 51 #endif 42 52 43 53 44 #if defined SHP && !defined TIZEN54 #if defined SHP 45 55 //#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" 46 56 #define isnan(x) false //isnan() sie nie linkuje
Note: See TracChangeset
for help on using the changeset viewer.