Ignore:
Timestamp:
Jul 15, 2003, 3:49:09 PM (22 years ago)
Author:
bird
Message:

#563: finally the right testcase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testcase/floatingpoint/jsnumexception.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r378 r379  
    22#include <float.h>
    33#include <signal.h>
     4#ifdef OS2
     5#define INCL_BASE
     6#define INCL_PM
     7#include <os2.h>
     8#endif
    49
    510#define JSDOUBLE_HI32_SIGNBIT   0x80000000
     
    3338{
    3439    int i = -1;
    35     _control87(0x262, 0xFFF);
    3640#if 1
    3741    if (    JSDOUBLE_IS_INT(d, i)
     
    6468    double rd3 = 2.147746133e9;
    6569    int l = -1;
    66 
     70#ifdef OS2
     71    PPIB ppib;
     72    DosGetInfoBlocks(NULL, &ppib);
     73    ppib->pib_ultype = 3;
     74    WinCreateMsgQueue(WinInitialize(0), 0);
     75    WinMessageBox(HWND_DESKTOP, HWND_DESKTOP, "blah", "Blah!", 0, MB_OK);
     76#else
    6777    _control87(0x262, 0xFFF);
     78#endif
    6879    signal(SIGFPE, sigfun);
    6980
Note: See TracChangeset for help on using the changeset viewer.