This is the mail archive of the
crossgcc@cygnus.com
mailing list for the crossgcc project.
Math functions for H8/300, % operator
- To: crossgcc@cygnus.com
- Subject: Math functions for H8/300, % operator
- From: "Hansjuergen Dreuth" <hansjuergen.dreuth@simplify-technologies.de>
- Date: Wed, 23 Jun 1999 19:35:43 +0200
- Reply-To: crossgcc@cygnus.com
Hi,
most probably I can live with only float precision on the H8/300H.
Thanks for the quick response.
Bob Paddock mentioned problems with the % operator. I quickly
tried the following code piece and found everythink ok (integer i;):
/* check of the % operator */
for(i=1; i<15; i++) {
j = 29 % i;
}
for(i=1; i<15; i++) {
j = 30 % i;
}
for(i=1; i<15; i++) {
j = 31 % i;
}
So at least for these numbers % was allright. I am interested in
mathematical functions working correctly. So if there are problems,
please let me know.
Hansjuergen
__________________________________________________________________________
Dr. Hansjuergen Dreuth
Simplify Technologies GmbH, Tulpenweg 2, D-35630 Ehringshausen, Germany
Tel.: (+49) (0)6443-811712, FAX: (+49) (0)6443-811716
Email: hansjuergen.dreuth@simplify-technologies.de
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.