이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
도움말
로그인
lolengine
/
lol
의 미러
https://github.com/lolengine/lol
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
0
위키
활동
소스 검색
math: fix a bug in real::cbrt() that completely broke the function.
legacy
Sam Hocevar
6 년 전
부모
90bf8a37d5
커밋
5814dd4cf0
1개의 변경된 파일
과
1개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/math/real.cpp
+ 1
- 1
src/math/real.cpp
파일 보기
@@ -821,7 +821,7 @@ template<> real cbrt(real const &x)
real third = inverse(real::R_3());
for (int i = 1; i <= x.bigit_count(); i *= 2)
{
ret = third * (x / (ret * ret) + (ret
/
2));
ret = third * (x / (ret * ret) + (ret
*
2));
}
return ret;
쓰기
미리보기
불러오는 중...
취소
저장