[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] 0 ** 0; result undefined
From: |
Andrew Makhorin |
Subject: |
Re: [Bug-glpk] 0 ** 0; result undefined |
Date: |
Sat, 8 Nov 2008 18:00:40 +0300 |
> "0 ** 0; result undefined "
> Result of 0 ** 0 is defined, it #39;s 1. That #39;s all.
In the strong mathematical sense 0 ** 0 is undefined. Defining 0 ** 0
as 1 violates continuity and sometimes may lead to false conclusions.
Nevertheless, if you disagree with that, you can always check operands
to produce desirable result, for example:
param a := (if x = 0 and y = 0 then 1 else x ** y);