For Programmers: Free Programming Magazines  


Home > Archive > C > February 2006 > Fixed/Block Floating Point Arithmetic Support...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Fixed/Block Floating Point Arithmetic Support...
Satpreet

2006-02-27, 6:57 pm

I'm looking to simulate the behavior of a digital hardware arithmetic
block in a C/C++ program.

I was just wondering if there are any libraries (with datatypes and
overloaded operators etc.) available for arithmetic operations on
Fixed/Block-Floating Point variables ??

Alternatively could anyone throw me a pointer to sample code if
available on the net...

Regards,
Satpreet

Michael Mair

2006-02-27, 6:57 pm

Satpreet schrieb:
> I'm looking to simulate the behavior of a digital hardware arithmetic
> block in a C/C++ program.


There is no such language.

> I was just wondering if there are any libraries (with datatypes and
> overloaded operators etc.) available for arithmetic operations on


That sounds unlike C -- there you do not have operator overloading.
This newsgroup deals with standard C, not C++ or other languages
with operator overloading.


> Fixed/Block-Floating Point variables ??
>
> Alternatively could anyone throw me a pointer to sample code if
> available on the net...


I assume you already have used some sort of search engine.
So: Try asking in a newsgroup where either "digital hardware
arithmetic block"s or "arithmetic operations on
Fixed/Block-Floating Point" are topical.


Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com