diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-18 21:27:56 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-18 21:27:56 +0900 |
| commit | f1d4e611c599112fa0a49ca80cdd1d35b78ea9f8 (patch) | |
| tree | dd567ab4a681f392b27172aa305070145ed4f4ef /slide.saty | |
| parent | 3ac5e3fe514ad0cb6f676965270aad4432a51269 (diff) | |
| download | phpstudy-166-slides-f1d4e611c599112fa0a49ca80cdd1d35b78ea9f8.tar.gz phpstudy-166-slides-f1d4e611c599112fa0a49ca80cdd1d35b78ea9f8.tar.zst phpstudy-166-slides-f1d4e611c599112fa0a49ca80cdd1d35b78ea9f8.zip | |
Diffstat (limited to 'slide.saty')
| -rw-r--r-- | slide.saty | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -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}< |
