C#中的Delphi Power算术函数 [英] Delphi Power arithmetic function in C#

查看:107
本文介绍了C#中的Delphi Power算术函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将一个applicationf从Delphi5迁移到C#.net Framework 2.0,

但是在转换Power函数时遇到了一些问题,因为它没有实现在
中框架数学库。

有没有人有一些代码行如何创建自己的Power函数?


问候

Magnus

I''m migrating an applicationf from Delphi5 to C# .net Framework 2.0,
but have some problems convertingt the Power function, because it is
not implemented in the framework Math library.
Does anyone have some code lines how to create an own Power function?

regards
Magnus

推荐答案

我认为Math.Pow无法做你想做的事吗?
I take it that Math.Pow wasn''t able to do what you wanted?


不,这不是同一个功能。我想delphi Power

函数做一些对数计算......

Nope, that is not the same function. I guess that the delphi Power
function does some logarithmic calculation...


Delphi源代码在Math.pas中单位


干杯

Doug Forster


" Magnus" <苏***** @ hotmail.com>在消息中写道

news:11 ********************** @ t31g2000cwb.googlegr oups.com ...
The Delphi source is in the Math.pas unit

Cheers
Doug Forster

"Magnus" <su*****@hotmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...
不,这不是同一个功能。我想delphi Power
函数做了一些对数计算...
Nope, that is not the same function. I guess that the delphi Power
function does some logarithmic calculation...



这篇关于C#中的Delphi Power算术函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆