[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fpu] pg already has host FP support?



on 8/22/00 0:48, Damjan Lampret at damjanlampret@yahoo.com wrote:

> Rudi,
> 
> it looks you already have host FP support in your pattern generator.
> Although lines are commented out. Rxample:
> 
> if( (rand() % 4)==1 & sub) {
> oper = 2;
> f3 = float32_sub( f1, f2);
> //if( (f1 - f2) != f3)
> //      printf("FP Sub Error: %f - %f: System:
> %f Lib: %f\n",f1, f2, (f1 + f2), f3)
> }
> regards,
> Damjan

Yes, except that I was doing it wrong, I think I fixed it now. But I don't
know how to check for FP exceptions in C. Any help please ?!

rudi