Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Feature/add pos function #20

Closed
wants to merge 2 commits into from

Conversation

ibt1haj
Copy link

@ibt1haj ibt1haj commented Oct 24, 2023

add a function Pos()

which returns zero if the input is negative, and returns the input value if it is positive
Pos(-1) = 0
Pos(1) =1

@ibt1haj ibt1haj mentioned this pull request Oct 25, 2023
@ibt1haj ibt1haj closed this Oct 26, 2023
@ibt1haj ibt1haj reopened this Oct 26, 2023
@ibt1haj
Copy link
Author

ibt1haj commented Oct 30, 2023

as @yallie pointed out this is not a purely math function , i am closing this PR

@ibt1haj ibt1haj closed this Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant