BUG? "int" does not like "if"

BUG? "int" does not like "if" - Сообщения

#1 Опубликовано: 08.10.2009 21:04:52
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Please look at the picture:

A function defined with "if" can not be integreated. "int" does not like "if" . Could they like each other?

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#2 Опубликовано: 10.10.2009 01:57:06
Greg Locock

Greg Locock

0 сообщений из 53 понравились пользователям.

Группа: User

And here is some odd behaviour.



https://smath.com/wiki/GetFile.aspx?File=gregpics%5cfbug.jpg
pic
#3 Опубликовано: 10.10.2009 10:03:22
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

As Greg pointed out, something is wrong.

It seems that the direct calculation of the expression which includes relational operation will be OK. I tried it directly and the transformed form as well (yellow tooltip).

Plotting and calling the defined function containing relational operators will go wrong sometimes (plotting, calling or both). I can not see the pattern.
Here is another text example.


Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#4 Опубликовано: 17.10.2009 14:10:58
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Wrote


It seems that the direct calculation of the expression which includes relational operation will be OK.


It seems I was wrong. Here is the example where the summation with relational operation fails:

Additionally:
[MATH]x←10[/MATH]
[MATH]sum((k^2*(k≤x));k;0;10)=1[/MATH]
Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Опубликовано: 17.10.2009 22:02:04
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

Bug with boolean operators fixed:


You can check this fix here: Alpha: SMath Studio 0.85.3578 (18 October 2009).
#6 Опубликовано: 18.10.2009 06:55:46
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Thanks Andrey

The Xcas plugin will be very welcome. I hope the desktop version will come soon.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений