1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-12-06 13:11:35 +00:00
Files
AROS-v0/workbench/libs/mathtrans/intern_spisodd.c
Matthias Rustler a58f5dc15c copyright header fixed
copyright sign unified to (C)
$Id$ removed
Lang: removed
2021-05-02 13:46:08 +02:00

21 lines
521 B
C

/*
Copyright (C) 1995-2003, The AROS Development Team. All rights reserved.
*/
#include <libraries/mathffp.h>
#include <aros/libcall.h>
#include <proto/mathffp.h>
#include <proto/mathtrans.h>
#include <proto/exec.h>
#include <exec/types.h>
#include "mathtrans_intern.h"
LONG intern_SPisodd(ULONG fnum)
{
char Exponent = ((fnum & FFPExponent_Mask)) - 0x41;
ULONG Mask = (0x80000000 >> Exponent);
if ((fnum & Mask) != 0) return TRUE;
else return FALSE;
} /* intern_SPisodd */