Revised, ready to submit
This commit is contained in:
BIN
output/main-opt-final.pdf
Normal file
BIN
output/main-opt-final.pdf
Normal file
Binary file not shown.
BIN
output/main.pdf
BIN
output/main.pdf
Binary file not shown.
@@ -30,7 +30,9 @@
|
|||||||
|
|
||||||
\subsection{結果}
|
\subsection{結果}
|
||||||
|
|
||||||
C言語では型変換の影響で評価中に値が真の値からずれ、最終的に演算結果が電卓と異なるものとなった。
|
C言語では型変換の影響で評価中に値が真の値からずれ、最終的に演算結果が電卓と異なる\\ものとなった。
|
||||||
|
式\ref{e4}から、丸括弧内を評価してから型変換を行なっていることが分かる。
|
||||||
|
式\ref{e2}、式\ref{e5}では型指定直後の数値のみ型変換を行なっている。
|
||||||
|
|
||||||
\begin{table}
|
\begin{table}
|
||||||
\caption{電卓とC言語での評価結果}
|
\caption{電卓とC言語での評価結果}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
\section{演習課題1 演習2ー5}
|
\section{演習課題1 演習2ー5}
|
||||||
|
|
||||||
2つの整数値を読み込み、前者の値が後者の値の何\%であるかを倍精度浮動小数点数として表示するプログラム。
|
2つの整数値を読み込み、前者の値が後者の値の何\%であるかを倍精度浮動小数点数として\\表示するプログラム。
|
||||||
|
|
||||||
\subsection{コードリスティング}
|
\subsection{コードリスティング}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user