HP Forums

Full Version: Assume, Additionally Bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I think I have found a bug with the assume and additionally commands.
Code:
#cas
demonstration(expression,domainlow,domainhigh):=
BEGIN
  assume(x>=domainlow);
  additionally(x<=domainhigh);
  xints:=solve(0=expression,x);//calculating x-ints
  return xints;
END;
#end
[attachment=4069]
It probably has something to do with symbolic representation and pi?
UPDATE. This also doesn't work using given (|) directly in CAS mode.
[attachment=4070]
Floating point issue while checking the conditions. I'm fixing, at least for simple cases.
(10-21-2016 02:23 PM)parisse Wrote: [ -> ]Floating point issue while checking the conditions. I'm fixing, at least for simple cases.
Cheers Parisse!
Reference URL's