# Eternity Async Tutoring

**URL:** https://discuss.criticalfallibilism.com/t/eternity-async-tutoring/1932
**Category:** Tutoring
**Created:** [April 17, 2024, 11:22pm UTC](https://discuss.criticalfallibilism.com/t/eternity-async-tutoring/1932 "2024-04-17T23:22:52Z")
**Posts on this page:** 1
**Showing post:** 394

<div class="post-metadata">

### Author: ![Elliot](https://discuss.criticalfallibilism.com/user_avatar/discuss.criticalfallibilism.com/elliot/32/14_2.png) [@Elliot](https://discuss.criticalfallibilism.com/u/Elliot)
#### Post date: [July 13, 2024, 11:41pm UTC](https://discuss.criticalfallibilism.com/t/eternity-async-tutoring/1932/394 "2024-07-13T23:41:44Z")

</div>

> [@Eternity](#):
>
> It seems its called mod?

Mod and remainder are the same thing for positive numbers. The name remainder is more intuitive. With negative numbers its [more confusing](https://stackoverflow.com/questions/13683563/whats-the-difference-between-mod-and-remainder) and you shouldn’t need to deal with that.

> [@Eternity](#):
>
> After seeing those functions. I came up with this for “or”:  
> or(x,y) = ceil((x+y)/2)  
> or(1,1) = ceil((1+1)/2) = ceil(2/2) = ceil(1) = 1  
> or(1,0) = ceil((1+0)/2) = ceil(1/2) = ceil(.5) = 1  
> or(0,1) = ceil((0+1)/2) = ceil(1/2) = ceil(.5) = 1  
> or(0,0) = ceil((0+0)/2) = ceil(0/2) = ceil(0) = 0
> 
> Is this solution ok?

Yes that’s correct.

Keep working on the rest. More hints are available.

---

_[View the full topic](https://discuss.criticalfallibilism.com/t/eternity-async-tutoring/1932)._
