Skip to content

Floating point exception #1

@tansy

Description

@tansy

When I tried it it reported error 'Floating point exception'.
Strace didn't give much either.

(...) // preparing program to start, bla, bla, bla
munmap(0xb7774000, 36413)               = 0
open("prashants__fibmap.c", O_RDONLY)   = 3
ioctl(3, FIGETBSZ, 0xbf87f084)          = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1401, ...}) = 0
--- SIGFPE {si_signo=SIGFPE, si_code=FPE_INTDIV, si_addr=0x4d15db} ---
+++ killed by SIGFPE +++

Do you know what is going on here?

PS. To compile it, it requires #include <sys/ioctl.h>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions