Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: menambahkan contoh math ceil pada zig #11

Merged
merged 1 commit into from
Dec 10, 2023
Merged

Conversation

slowy07
Copy link
Member

@slowy07 slowy07 commented Dec 8, 2023

Deskripsi (Description)

In mathematics and computer science, the floor function is the function that takes as input a real number x, and gives as output the greatest integer less than or equal to x, denoted ⌊x⌋ or floor(x). Similarly, the ceiling function maps x to the smallest integer greater than or equal to x, denoted ⌈x⌉ or ceil(x)

source : https://en.wikipedia.org/wiki/Floor_and_ceiling_functions

Checklist:

Umum:

  • Saya menambah algoritma terbaru.
  • Saya memperbaiki algoritma yang sudah ada.
  • Saya memperbaiki dokumentasi.
  • Saya menambah dokumentasi.

Contributor Requirements (Syarat Kontributor) dan Lain-Lain:

  • Saya sudah membaca (I have read) CONTRIBUTING dan sudah menyetujui semua syarat.
  • Saya telah menambahkan komentar (doc comment) yang memberikan penjelasan maksud dari kode yang saya buat.
  • Saya menggunakan bahasa Indonesia untuk memberikan penjelasan dari kode yang saya buat.

Unit Testing dan Linting:

  • zig test
  • zig fmt

Environment

Saya menggunakan (I'm using):

  • os = linux
  • zig = 0.11.0

Signed-off-by: slowy07 <slowy.arfy@gmail.com>
@slowy07 slowy07 self-assigned this Dec 8, 2023
@slowy07 slowy07 added the ready-to-merge siap merge label Dec 10, 2023
@mergify mergify bot merged commit abbee11 into bellshade:main Dec 10, 2023
6 checks passed
Copy link

mergify bot commented Dec 10, 2023

terima kasih atas kontribusinya @slowy07 !

@slowy07 slowy07 deleted the ceil branch December 10, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant