mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 21:33:59 +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:
29
source/shared_lib/include/streflop/streflopC.h
Normal file
29
source/shared_lib/include/streflop/streflopC.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/* Copyright (C) 2009 Tobi Vollebregt */
|
||||
|
||||
/*
|
||||
Serves as a C compatible interface to the most basic streflop functions.
|
||||
*/
|
||||
|
||||
#ifndef STREFLOP_C_H
|
||||
#define STREFLOP_C_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/// Initializes the FPU to single precision
|
||||
void streflop_init_Simple();
|
||||
|
||||
/// Initializes the FPU to double precision
|
||||
void streflop_init_Double();
|
||||
|
||||
#if defined(Extended)
|
||||
/// Initializes the FPU to extended precision
|
||||
void streflop_init_Extended();
|
||||
#endif // defined(Extended)
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // STREFLOP_C_H
|
Reference in New Issue
Block a user