Turbo C

S

shahed2535

Hi,I am saiful Islam.I have a query about Turbo c.This is:-

A programmer would like to use the word DPR to declare all the double -
precesion floating point values in his program.How could he achieve
this?

Any reply will be appreciated.
 
S

Seebs

Hi,I am saiful Islam.I have a query about Turbo c.This is:-

You are an annoying spammer. Go away.

1. Turbo C is dead.
2. This is not the Turbo C newsgroup.
3. Please remember to put "[IUT]" in your subject lines so we can
killfile you.
A programmer would like to use the word DPR to declare all the double -
precesion floating point values in his program.How could he achieve
this?

By reading his textbook.

Look, I really appreciate that you're trying to make sure my skills stay
valuable by ensuring that you will never be able to work professionally
as a C programmer, but really, it's not necessary. I wouldn't mind at
all if you made an actual effort to learn C instead of spamming Usenet with
badly-phrased questions and never responding or following up.

-s
 
N

Nick Keighley

Hi,I am saiful Islam.I have a query about Turbo c.This is:-

A programmer would like to use the word DPR to declare all the double -
precesion floating point values in his program.How could he achieve
this?

Any reply will be appreciated.

start with a structure like this

struct DPR
{
bool sign;
long mantissa;
long exponent;
}

/* forms the sum of two floating point numbers */
DPR dpr_add (DPR s1, DPR s2);

/* forms the product of two floating point numbers */
DPR dpr_mult (DPR s1, DPR s2);

fill in the code for these using the usual definitions for floating
point numbers. More advanced students can try implememnting a FFT
using these functions.

How does your implementation compare with a typical IEEE one?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Turbo c 1
Turbo C 3
Turbo C 5
C++ Programming Searching for Good Way to Learn 2
Turbo C 3
Turbo C 2.0 1
Turbo C 1
Turbo C 11

Members online

No members online now.

Forum statistics

Threads
474,099
Messages
2,570,626
Members
47,237
Latest member
David123

Latest Threads

Top