We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let number: Double = 5.0 var result: Double = number.truncatingRemainder(dividingBy: 1.5) //0.5 result = 12.truncatingRemainder(dividingBy: 2.5) // 2.0 var result: Int = 5 / 3 // 1 result = 10 / 3 // 3
The text was updated successfully, but these errors were encountered:
4 >> 1 은 오른쪽으로 1만큼 비트 이동 4는 0100이므로 0010인 2가 답이됨 4 << 1 은 왼쪽으로 1000이므로 답은 8 비트 범위를 벗어난 비트는 버려진다.
=
Sorry, something went wrong.
Suyeon9911
No branches or pull requests
스위프트의 나머지 연산과 나누기 연산자
The text was updated successfully, but these errors were encountered: