aboutsummaryrefslogtreecommitdiffhomepage
path: root/slide.saty
diff options
context:
space:
mode:
Diffstat (limited to 'slide.saty')
-rw-r--r--slide.saty28
1 files changed, 24 insertions, 4 deletions
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}<