早教吧作业答案频道 -->其他-->
VS2012中调用类似fabs()和sqrt()函数,参数为double类型数函数有效,参数为变量或者复杂的数学表达式无效调试的时候一遇到这类数学函数都会有如下提示:(以sqrt函数为例)You need to find sqrt.asm to
题目详情
VS2012中调用类似fabs()和sqrt()函数,参数为double类型数函数有效,参数为变量或者复杂的数学表达式无效
调试的时候一遇到这类数学函数都会有如下提示:(以sqrt函数为例)
You need to find sqrt.asm to view the source for the current call stack frame
Try one of the following options:
-Browse and find sqrt.am...
You can view disassembly in the Disassembly window. To always view disassembly for missing source files,change the setting in the Option dialog.
Source search information
Locating source for 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'. Checksum: MD5 {dd e7 2b 95 3a 36 c9 63 55 5e 42 7 b1 83 9a 8d}
The file 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm' does not exist.
Looking in script documents for 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'...
Looking in the projects for 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'.
The file was not found in a project.
Looking in directory 'D:\Visual Studio 2012\VC\crt\src\'...
Looking in directory 'D:\Visual Studio 2012\VC\crt\src\vccorlib\'...
Looking in directory 'D:\Visual Studio 2012\VC\atlmfc\src\mfc\'...
Looking in directory 'D:\Visual Studio 2012\VC\atlmfc\src\atl\'...
Looking in directory 'D:\Visual Studio 2012\VC\atlmfc\include'...
Looking in directory 'D:\XX\XXX\Visual Studio 2012\VC\atlmfc\src\mfc'...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\atlmfc\src\mfcm'...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\atlmfc\src\atl'...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\crt\src'...
Looking in directory ''...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\include'...
Looking in directory 'D:\XX\XX\Visual Studio 2012\VC\atlmfc\include'...
Looking in directory 'C:\Program Files (x86)\Windows Kits\8.0\Include\um'...
Looking in directory 'C:\Program Files (x86)\Windows Kits\8.0\Include\shared'...
Looking in directory 'C:\Program Files (x86)\Windows Kits\8.0\Include\winrt'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm.
The debugger could not locate the source file 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'.
没有人回答吗?只有小白我在做数值计算时碰到这种问题吗?求大神解救.
调试的时候一遇到这类数学函数都会有如下提示:(以sqrt函数为例)
You need to find sqrt.asm to view the source for the current call stack frame
Try one of the following options:
-Browse and find sqrt.am...
You can view disassembly in the Disassembly window. To always view disassembly for missing source files,change the setting in the Option dialog.
Source search information
Locating source for 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'. Checksum: MD5 {dd e7 2b 95 3a 36 c9 63 55 5e 42 7 b1 83 9a 8d}
The file 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm' does not exist.
Looking in script documents for 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'...
Looking in the projects for 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'.
The file was not found in a project.
Looking in directory 'D:\Visual Studio 2012\VC\crt\src\'...
Looking in directory 'D:\Visual Studio 2012\VC\crt\src\vccorlib\'...
Looking in directory 'D:\Visual Studio 2012\VC\atlmfc\src\mfc\'...
Looking in directory 'D:\Visual Studio 2012\VC\atlmfc\src\atl\'...
Looking in directory 'D:\Visual Studio 2012\VC\atlmfc\include'...
Looking in directory 'D:\XX\XXX\Visual Studio 2012\VC\atlmfc\src\mfc'...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\atlmfc\src\mfcm'...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\atlmfc\src\atl'...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\crt\src'...
Looking in directory ''...
Looking in directory 'D:\XX\XXXX\Visual Studio 2012\VC\include'...
Looking in directory 'D:\XX\XX\Visual Studio 2012\VC\atlmfc\include'...
Looking in directory 'C:\Program Files (x86)\Windows Kits\8.0\Include\um'...
Looking in directory 'C:\Program Files (x86)\Windows Kits\8.0\Include\shared'...
Looking in directory 'C:\Program Files (x86)\Windows Kits\8.0\Include\winrt'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm.
The debugger could not locate the source file 'f:\dd\vctools\crt_bld\SELF_X86\crt\prebuild\tran\i386\sqrt.asm'.
没有人回答吗?只有小白我在做数值计算时碰到这种问题吗?求大神解救.
▼优质解答
答案和解析
你把你的整型变量或者表达式乘以1.0,然后作为sqrt的参数,这样就可以了.
你没有sqrt的源程序,是无法对sqrt进行调试的.
你没有sqrt的源程序,是无法对sqrt进行调试的.
看了 VS2012中调用类似fab...的网友还看了以下:
现有六种元素,其中A、B、C、D为短周期主族元素,E、F为第四周期元素,它们的原子序数依次增大.请 2020-04-08 …
在下列各题的括号中,填上“偶”或“奇”字.(1)奇数+奇数=数(2)偶数+偶数=数(3)偶数+奇数 2020-04-22 …
GUI中分段函数如何绘制本人matlab新手,想用gui做一个软件,但用axes功能的时候,分段函 2020-05-17 …
■这个选择题有点难,帮帮忙以下与库函数strcmp(char*s,char*t)的功能相等的程序段 2020-05-20 …
数字0、2、4、6、8称为偶数数码,数字1、3、5、7、9称为奇数数码,在有些四位数的各位数字中, 2020-06-03 …
设数集S是满足条件:若a∈S,则1/1-a∈S(a∈R且a≠0,1)(1)求证:若2∈S,则在S中 2020-07-11 …
已知a,b,c,d都是正数,S=ab+c+d+ba+c+d+ca+b+d+da+b+c,则有()A 2020-07-30 …
sons和son's的发音一样吗?如果一样,是否对于一切复数+s且所有格+'s的单词,读音完全一样? 2020-11-30 …
设实数集S是满足下面两个条件的集合:①1∉S;②若a∈S则1/1-a∈S(1),求证:若a∈S,则1 2020-12-01 …
athletes(运动员复数)的读法?名词复数读法一共有两种说法:一、末尾是元音字母复数(加s)时s 2020-12-04 …