/[ascend]/trunk/base/generic/compiler/safe.c
ViewVC logotype

Diff of /trunk/base/generic/compiler/safe.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 122 by jds, Fri Dec 16 00:20:44 2005 UTC revision 123 by johnpye, Mon Dec 19 06:59:40 2005 UTC
# Line 484  double safe_lnm_D0(double x,enum safe_er Line 484  double safe_lnm_D0(double x,enum safe_er
484    return( lnm(x) );    return( lnm(x) );
485  }  }
486    
487  double safe_log_D0(double x,enum safe_err *safe)  double safe_log10_D0(double x,enum safe_err *safe)
488  {  {
489     return( safe_LOG10_COEF * safe_ln_D0(x,safe) );     return( safe_LOG10_COEF * safe_ln_D0(x,safe) );
490  }  }
# Line 627  double safe_lnm_D1(double x,enum safe_er Line 627  double safe_lnm_D1(double x,enum safe_er
627     return( dlnm(x) );     return( dlnm(x) );
628  }  }
629    
630  double safe_log_D1(double x,enum safe_err *safe)  double safe_log10_D1(double x,enum safe_err *safe)
631  {  {
632     return( safe_LOG10_COEF * safe_ln_D1(x,safe) );     return( safe_LOG10_COEF * safe_ln_D1(x,safe) );
633  }  }
# Line 785  double safe_lnm_D2(double x,enum safe_er Line 785  double safe_lnm_D2(double x,enum safe_er
785     return( dlnm2(x) );     return( dlnm2(x) );
786  }  }
787    
788  double safe_log_D2(double x,enum safe_err *safe)  double safe_log10_D2(double x,enum safe_err *safe)
789  {  {
790     return( safe_LOG10_COEF * safe_ln_D2(x,safe) );     return( safe_LOG10_COEF * safe_ln_D2(x,safe) );
791  }  }
# Line 886  double safe_ln_Dn(double x,int n,enum sa Line 886  double safe_ln_Dn(double x,int n,enum sa
886     return( n==0 ? safe_ln_D0(x,safe) : safe_Dn_rec(x,n-1,safe) );     return( n==0 ? safe_ln_D0(x,safe) : safe_Dn_rec(x,n-1,safe) );
887  }  }
888    
889  double safe_log_Dn(double x,int n,enum safe_err *safe)  double safe_log10_Dn(double x,int n,enum safe_err *safe)
890  {  {
891     return( safe_LOG10_COEF * safe_ln_Dn(x,n,safe) );     return( safe_LOG10_COEF * safe_ln_Dn(x,n,safe) );
892  }  }

Legend:
Removed from v.122  
changed lines
  Added in v.123

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22