15,607,413 members
See more:
Hello.

Assumed we have four following functions:
- `IsGoodForHealthOfMe(bool bCondition)`

- `IsGoodForHealthOfFamily(bool bCondition)`

- `IsGoodForHealthOfFriends(bool bCondition)`

- `IsGoodForHealthOfWorld(bool bCondition)`

...and two implementations of the irrationality
for a logical condition `bCondition`:

Avicenna (980 - 1037), remastered:
```bool IsIrrational(bool bCondition)
{
if (!IsGoodForHealthOfMe(bCondition)      ||
!IsGoodForHealthOfFamily(bCondition)  ||
!IsGoodForHealthOfFriends(bCondition) ||
!IsGoodForHealthOfWorld(bCondition)) {
return true;
}
return false;
}```

Hubbard (1911 - 1986), remastered:
```bool IsIrrational(bool bCondition)
{
if (!IsGoodForHealthOfMe(bCondition)) {
return true;
}
if (!IsGoodForHealthOfFamily(bCondition)) {
return !IsGoodForHealthOfMe(!bCondition);
}
if (!IsGoodForHealthOfFriends(bCondition)) {
return !IsGoodForHealthOfMe(!bCondition) ||
!IsGoodForHealthOfFamily(!bCondition)
}
if (!IsGoodForHealthOfWorld(bCondition)) {
return !IsGoodForHealthOfMe(!bCondition)     ||
!IsGoodForHealthOfFamily(!bCondition) ||
!IsGoodForHealthOfFriends(!bCondition);
}
return false;
}```

What form (may be a third form)
would be correct for you, please ?

Thank you ! :)
Posted

## Solution 1

Eugen Podsypalnikov wrote:
What is an irrational result for you ?

π.
:)

v2