From f1d4e611c599112fa0a49ca80cdd1d35b78ea9f8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 18 Jul 2024 21:27:56 +0900 Subject: udpate slides --- slide.saty | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'slide.saty') diff --git a/slide.saty b/slide.saty index a84d503..0d6c8f1 100644 --- a/slide.saty +++ b/slide.saty @@ -214,17 +214,37 @@ $label = new Label($m);`); > +frame{f64.div}< - +code-block-php(`return $x / $y;`); + > + + +frame{f64.div}< + +p{PHP で 0.0 割る 0.0 は?} + > + + +frame{f64.div}< + +p{PHP で 0.0 割る 0.0 は?} + +enumerate{ + * NaN (Not a Number) + * Infinity (正の無限大) + * -Infinity (負の無限大) + } + > + + +frame{f64.div}< + +p{PHP で 0.0 割る 0.0 は?} + +enumerate{ + * NaN (Not a Number) + * Infinity (正の無限大) + * -Infinity (負の無限大) + * Fatal error + } +p{} - +code-block-php(`return fdiv($x, $y);`); + +p{除算演算子は IEEE 754 に準拠していない} > +frame{f64.div}< +code-block-php(`return $x / $y;`); +p{} +code-block-php(`return fdiv($x, $y);`); - +p{} - +p{除算演算子は IEEE 754 に準拠していない} > +frame{Emscripten}< -- cgit v1.2.3-70-g09d2