From ee4518fc5c30bd15e07fda73a0ced318d8c2c1ab Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 28 Mar 2018 04:58:57 +0900 Subject: [PATCH] =?UTF-8?q?randF=20=EB=93=B1=EC=9D=84=20Util=EB=A1=9C=20?= =?UTF-8?q?=EC=98=AE=EA=B2=BC=EC=9C=BC=EB=AF=80=EB=A1=9C=20func.php?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/func.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/twe/func.php b/twe/func.php index 26580e35..995afba1 100644 --- a/twe/func.php +++ b/twe/func.php @@ -24,21 +24,7 @@ require_once('func_command.php'); -/** - * 0.0~1.0 사이의 랜덤 float - * @return float - */ -function randF(){ - return mt_rand() / mt_getrandmax(); -} -/** - * $prob의 확률로 true를 반환 - * @return boolean - */ -function randBool($prob = 0.5){ - return randF() < $prob; -} /** * 로그인한 유저의 장수 id를 받아옴