Article View: fj.lang.c
Article #372Re: 2点間の距離を求める
From: Sugihara Yoshimi
Date: Wed, 22 Apr 1998 00:00
Date: Wed, 22 Apr 1998 00:00
16 lines
1374 bytes
1374 bytes
sugiharaです。 kuno@gssm.otsuka.tsukuba.ac.jp wrote in message <6hjbaa$sf8@utogw.gssm.otsuka.tsukuba.ac.jp>... > > (y*y)/(r*r) とか (x*x)/(r*r) と sin、cos の対応表を予め計算し >ておいて表を引くだけにしたらいいんじゃないですか? > > 4096項目ずつでいいわけですし この方法はメモリを消費するので、あまりやりたくないです。最終的にメモリに空き が残っていたときに試してみます。 ところで、(y*y)/(r*r) とか (x*x)/(r*r)の計算ですが2乗のまま計算して大丈夫 なのでしょうか。なにか引っかかるように感じられるのですが・・・
Technical Details
Message-ID:
<6hk7ie$3if@news.kyosai.or.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6hdaib$chb$1@news1.kcom.ne.jp><6hekgm$ojc$1@tequila.rel.crl.fujixerox.co.jp><6hhoop$flo$1@tequila.rel.crl.fujixerox.co.jp><6hijrs$195$1@news1.kcom.ne.jp> <6hjbaa$sf8@utogw.gssm.otsuka.tsukuba.ac.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 106434,5e6daae5d04bdee4 X-Google-Attributes: gid106434,public From: "Sugihara Yoshimi" <sugihara@kyosai.or.jp> Subject: Re: 2点間の距離を求める Date: 1998/04/22 Message-ID: <6hk7ie$3if@news.kyosai.or.jp> X-Deja-AN: 346579474 Content-Transfer-Encoding: 7bit References: <6hdaib$chb$1@news1.kcom.ne.jp><6hekgm$ojc$1@tequila.rel.crl.fujixerox.co.jp><6hhoop$flo$1@tequila.rel.crl.fujixerox.co.jp><6hijrs$195$1@news1.kcom.ne.jp> <6hjbaa$sf8@utogw.gssm.otsuka.tsukuba.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: HIROSHIMAKEN CHUSYOKIGYO KYOSAI coop., Newsgroups: fj.lang.c