User Activity

  • Posted a comment on discussion Technical Topics on VeraCrypt

    Thank you. This is useful. It also happended to me, probably caused by some Windows updates. Kind regards.

  • Posted a comment on ticket #591 on ngspice

    just a small correction: my_digs_inpeval = digs

  • Modified a comment on ticket #591 on ngspice

    I found the root of the problem, which is pow(10.0,...); When the exponent is a negative value, it affects calculations in some sections in the source code file 'inpeval.c' (and maybe other files that do the same calculation as well). We can see from the following example. // Need to include float.h and math.h int digs = DECIMAL_DIG; int main() { int sign = -1; double mantis = 6; printf("-0.6 = %.e\n",digs,-0.6); printf("-6pow(10,0,-1) = %.e\n",digs,-6pow(10.0,-1)); printf("-6/pow(10,0,1) = %.*e\n",digs,-6/pow(10.0,1));...

  • Modified a comment on ticket #591 on ngspice

    I found the root of the problem, which is pow(10.0,...); When the exponent is a negative value, it affects calculations in some sections in the source code file 'inpeval.c' (and maybe other files that do the same calculation as well). We can see from the following example. // Need to include float.h and math.h int digs = DECIMAL_DIG; int main() { int sign = -1; double mantis = 6; printf("-0.6 = %.e\n",digs,-0.6); printf("-6pow(10,0,-1) = %.e\n",digs,-6pow(10.0,-1)); printf("-6/pow(10,0,1) = %.*e\n",digs,-6/pow(10.0,1));...

  • Modified a comment on ticket #591 on ngspice

    I found the root of the problem, which is pow(10.0,...); When the exponent is a negative value, it affects calculations in some sections in the source code file 'inpeval.c' (and maybe other files that do the same calculation as well). We can see from the following example. // Need to include float.h and math.h int digs = DECIMAL_DIG; int main() { int sign = -1; double mantis = 6; printf("-0.6 = %.e\n",digs,-0.6); printf("-6pow(10,0,-1) = %.e\n",digs,-6pow(10.0,-1)); printf("-6/pow(10,0,1) = %.*e\n",digs,-6/pow(10.0,1));...

  • Modified a comment on ticket #591 on ngspice

    I found the root of the problem, which is pow(10.0,...); When the exponent is a negative value, it affects calculations in some sections in the source code file 'inpeval.c' (and maybe other files that do the same calculation as well). We can see from the following example. //#include <stdio.h> (please remove //) //#include <float.h> //#include <math.h></math.h></float.h></stdio.h> int digs = DECIMAL_DIG; int main() { int sign = -1; double mantis = 6; printf("-0.6 = %.e\n",digs,-0.6); printf("-6pow(10,0,-1)...

  • Posted a comment on ticket #591 on ngspice

    I found the root of the problem, which is pow(10.0,...); When the exponent is a negative value, it affects calculations in some sections in the source code file 'inpeval.c' (and maybe other files that do the same calculation as well). We can see from the following example. //#include <stdio.h> (please remove //) //#include <float.h> //#include <math.h></math.h></float.h></stdio.h> int digs = DECIMAL_DIG; int main() { int sign = -1; double mantis = 6; printf("-0.6 = %.e\n",digs,-0.6); printf("-6pow(10,0,-1)...

  • Posted a comment on ticket #591 on ngspice

    Just to update that if I just add 0 and the end of -0.6, out1 is as expected. v_iny iny 0 -0.60 It might be something with parsing the value, I guess.

View All

Personal Data

Username:
pt0
Joined:
2021-04-04 14:42:34

Projects

  • No projects to display.

Personal Tools