Missing `floor()` and `ceil()` methods

Open Beginner friendly
#201 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
api

Research direction

Search the Rust Processing API implementation for the existing round() method and use it as the first entry point. Add the corresponding floor() and ceil() behavior so calls no longer raise NameError, then verify that both methods return the expected values.

Written by the indexing model from the issue text.

Description

Calling floor() and ceil() return, respectively:

RuntimeError: NameError: name 'floor' is not defined

RuntimeError: NameError: name 'ceil' is not defined

This doesn't seem to be the case with round()

Dominant language
Rust
Stars
69
Forks
14
Avg merge
15d 22h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from processing/libprocessing

All issues in processing/libprocessing

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.