Changeset 1279


Ignore:
Timestamp:
09/09/23 15:26:02 (15 months ago)
Author:
Maciej Komosinski
Message:

Configuring floating point exception handling, follow-up to r1275

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/config/sdk-build-config.h

    r1158 r1279  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2023  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    1919
    2020
     21
     22#ifdef _WIN32
     23#define WANTED_FP_EXCEPTIONS (fpExcept::FPEX_DIV0 | fpExcept::FPEX_INVALID | fpExcept::FPEX_OVERFLOW) // EM_DENORMAL | EM_UNDERFLOW | EM_INEXACT; //commented out exceptions occur during proper operation
     24#else
     25#define WANTED_FP_EXCEPTIONS fpExcept::FPEX_DIV0 // | fpExcept::FPEX_INVALID | fpExcept::FPEX_OVERFLOW -> still wanted but we need TODO use try catch in ExtValue!
     26#endif
     27
    2128#define USE_PRINTFLOAT_DRAGON4
    2229#define NOCREATUREOBJECT
Note: See TracChangeset for help on using the changeset viewer.