Package: aranym
Version: 0.9.5beta-1
Severity: normal

Hi!

The following program gives output in ARAnyM (with Debian sid installed):

0.55, 1
0.05, -2147483647

While the correct one is

0.55, 1
0.8, -3

(It's proven that the program works correctly on a real m68k hardware, so it
must be a bug in ARAnyM.)

#include <math.h>
#include <stdio.h>

main() {
    double v;
    int e;
    v = frexp(1.1, &e);
    printf("%g, %d\n", v, e);
    v = frexp(0.1, &e);
    printf("%g, %d\n", v, e);
}

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-amd64
Locale: LANG=ru_RU.CP1251, LC_CTYPE=ru_RU.CP1251 (charmap=CP1251)

Versions of packages aranym depends on:
ii  libc6                  2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libsdl-image1.2        1.2.5-2+b1        image loading library for Simple D
ii  libsdl1.2debian        1.2.11-8          Simple DirectMedia Layer
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages aranym recommends:
ii  bridge-utils                  1.2-1      Utilities for configuring the Linu
pn  ipmasq                        <none>     (no description available)
ii  uml-utilities                 20060323-3 User-mode Linux (utility programs)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to