Feb 19, 2004 #1 T tuinui98 Junior Member level 2 Joined Dec 18, 2002 Messages 23 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 138 i need your help i'll using fixed-point number to perform some calculation for faster speed. i have to calculate power such as e^(-2*T) or 2.71828^(-0.00432). include + - * / and comparation == != > >= < <=
i need your help i'll using fixed-point number to perform some calculation for faster speed. i have to calculate power such as e^(-2*T) or 2.71828^(-0.00432). include + - * / and comparation == != > >= < <=
Feb 19, 2004 #2 C C-Man Advanced Member level 4 Joined Jul 19, 2001 Messages 1,059 Helped 90 Reputation 180 Reaction score 17 Trophy points 1,318 Activity points 10,189 Take a look at the sourcecode of the Intel 8051 basic interpreter here: **broken link removed** You will find all the assembler routines for an 8 digit precision math lib in this code. I have been using this years ago best regards
Take a look at the sourcecode of the Intel 8051 basic interpreter here: **broken link removed** You will find all the assembler routines for an 8 digit precision math lib in this code. I have been using this years ago best regards