mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 11:54:00 +02:00
Added streflop (standalone reproducible floating point library) layer to mega-glest (initial checkin only) and changed a few areas to use the library in linux
This commit is contained in:
27
source/shared_lib/sources/streflop/streflopC.cpp
Normal file
27
source/shared_lib/sources/streflop/streflopC.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
/* Copyright (C) 2009 Tobi Vollebregt */
|
||||
|
||||
#include "streflopC.h"
|
||||
|
||||
#include "streflop_cond.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void streflop_init_Simple() {
|
||||
streflop_init<Simple>();
|
||||
}
|
||||
|
||||
void streflop_init_Double() {
|
||||
streflop_init<Double>();
|
||||
}
|
||||
|
||||
#if defined(Extended)
|
||||
void streflop_init_Extended() {
|
||||
streflop_init<Extended>();
|
||||
}
|
||||
#endif // defined(Extended)
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
Reference in New Issue
Block a user