Article View: fj.os.misc
Article #1153[386bsd] math_emulate.c (w/patch)
From: Ukai Fumitoshi
Date: Fri, 18 Sep 1992 17:12
Date: Fri, 18 Sep 1992 17:12
54 lines
2425 bytes
2425 bytes
$@$&$+$$$G$9!#(J 386bsd $@$NIbF0>.?tE@1i;;$N%(%_%e%l!<%7%g%s$K%P%0$,$"$j$^$7$?!#(J atof(3) $@$G;H$C$F$$$k(J fscale $@$G$9!#(J FPU$@$,$J$$$H!"IbF0>.?tE@$r$U$/$`%=!<%9$N%3%s%Q%$%k$,@5$7$/9T$J$o$l$^$;$s!#(J FPU $@$N$J$$?M$O$3$N%Q%C%A$rEv$F$F(J kernel$@$r(J *2$@2s(J* $@%3%s%Q%$%k$7D>$7$F2<$5$$!#(J 1) $@$3$N(J patch $@$r$"$F$F(J kernel$@$r%3%s%Q%$%k$9$k!#(J # cd /usr/src/sys.386bsd/i386/i386 # patch < $@$3$N%Q%C%A(J # cd ../../compile/$@$"$J$?$N(JCONFIG # make 2) 1)$@$G$G$-$?(J kernel$@$G(J reboot$@$9$k!#(J # mv /386bsd /386bsd.alt # cp -p 386bsd /386bsd # reboot 3) $@$b$&0lEY(J kernel$@$r%3%s%Q%$%k$9$k!#(J # cd /usr/src/sys.386bsd/compile/$@$"$J$?$N(JCONFIG # make clean; make 4) 3)$@$G$G$-$?(J kernel $@$G(J reboot$@$9$k!#(J # cp -p 386bsd /386bsd # reboot ---------------------------------------------------------------- *** math_emulate.c.orig Sat Sep 19 01:30:57 1992 --- math_emulate.c Sat Sep 19 01:31:33 1992 *************** *** 163,169 **** /* incomplete and totally inadequate -wfj */ Fscale(PST(0), PST(1), &tmp); real_to_real(&tmp,&ST(0)); ! /* fall into .. */ case 0x1fc: frndint(PST(0),&tmp); real_to_real(&tmp,&ST(0)); --- 163,169 ---- /* incomplete and totally inadequate -wfj */ Fscale(PST(0), PST(1), &tmp); real_to_real(&tmp,&ST(0)); ! return(0); case 0x1fc: frndint(PST(0),&tmp); real_to_real(&tmp,&ST(0)); --- $@1-;tJ8IR(J $@5~ETBg3XBg3X1!9)3X8&5f2J1~MQ2J3X%7%9%F%`@l96D9C+@n8&(J ukai@kuamp.kyoto-u.ac.jp $@5~Bg%^%$%3%s%/%i%V(J ukai@kmc.kyoto-u.ac.jp
Technical Details
Message-ID:
<UKAI.92Sep19021210@chobi.kmc.kyoto-u.ac.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!ccut!s.u-tokyo!kekux!rcnpvx!ccsparc01!icspub!wnoc-kyo!kuis!kmc-box2!nntp!ukaiShow Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 10574f,9905d8bd4219e2f5,start X-Google-Attributes: gid10574f,public X-Google-ArrivalTime: 1992-09-18 06:32:14 PST Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!s.u-tokyo!kekux!rcnpvx!ccsparc01!icspub!wnoc-kyo!kuis!kmc-box2!nntp!ukai Newsgroups: fj.os.misc Subject: [386bsd] math_emulate.c (w/patch) Message-ID: <UKAI.92Sep19021210@chobi.kmc.kyoto-u.ac.jp> From: ukai@kmc.kyoto-u.ac.jp (Ukai Fumitoshi) Date: 18 Sep 92 17:12:10 GMT Reply-To: ukai@kuamp.kyoto-u.ac.jp Sender: news@box2.kmc.kyoto-u.ac.jp (News system Manager #2) Distribution: fj Organization: Kyoto University Microcomputer Club, Kyoto, Japan Nntp-Posting-Host: chobi Keyword: math emulation, atof Lines: 54