From ruby-math-admin@netlab.co.jp Thu Jun 8 19:00:38 2000 Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by blade.nagaokaut.ac.jp (8.8.8/8.8.8/Debian/GNU) with ESMTP id TAA00585; Thu, 8 Jun 2000 19:00:37 +0900 Received: from hoyogw.netlab.co.jp (localhost [127.0.0.1]) by hoyogw.netlab.co.jp (Postfix) with ESMTP id A246846CE3; Thu, 8 Jun 2000 18:56:31 +0900 (JST) Delivered-To: ruby-math@netlab.co.jp Date: Thu, 8 Jun 2000 18:56:27 +0900 (JST) From: gotoken@math.sci.hokudai.ac.jp (GOTO Kentaro) Reply-To: ruby-math@netlab.co.jp Subject: [ruby-math:00309] Re: quotient, remainder, modulo Sender: gotoken@hanare00.math.sci.hokudai.ac.jp To: ruby-math@netlab.co.jp Message-Id: <200006080956.SAA05248@hanare00.math.sci.hokudai.ac.jp> In-Reply-To: Yukihiro Matsumoto's message of "Wed, 07 Jun 2000 22:39:20 +0900" References: X-ML-Name: ruby-math X-Mail-Count: 00309 X-MLServer: fml [fml 3.0pl#17]; post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-math-ctl@netlab.co.jp; help= X-Mailer: cmail 2.59.12 on GNU Emacs 19.34.5 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=ISO-2022-JP Precedence: bulk Lines: 20 ごとけんです In message "[ruby-math:00303] quotient, remainder, modulo" on 00/06/07, Yukihiro Matsumoto writes: >すいません。どなたか私に整数の > > quotient > remainder > modulo > >の「あるべき姿」を指南してくださいませんでしょうか? 「あるべき姿」は無いと思います。まわりのやつに聞いたら、「そ んなのは未定義」と言われました。 もう少し考えないとましな答えが出来ないですが、それはさておき、 C の % って負がからむと処理系依存だったような… -- gotoken