From 1c500e28bf8af0929aa818ed99e80395138b3fbf Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Mon, 7 Aug 2023 16:44:03 +0200 Subject: [PATCH] int and float constructor right print --- ex01/src/Fixed.cpp | 4 ++-- ex02/ex02 | Bin 0 -> 42048 bytes ex02/src/Fixed.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100755 ex02/ex02 diff --git a/ex01/src/Fixed.cpp b/ex01/src/Fixed.cpp index d9f27b5..b776b45 100644 --- a/ex01/src/Fixed.cpp +++ b/ex01/src/Fixed.cpp @@ -22,13 +22,13 @@ Fixed::Fixed(const Fixed& src) Fixed::Fixed(const int& src) { - std::cout << "Copy constructor called" << std::endl; + std::cout << "Int constructor called" << std::endl; this->_value = src << this->_nb_bits; } Fixed::Fixed(const float& src) { - std::cout << "Copy constructor called" << std::endl; + std::cout << "Float constructor called" << std::endl; this->_value = (int) roundf(src * (1 << this->_nb_bits)); } diff --git a/ex02/ex02 b/ex02/ex02 new file mode 100755 index 0000000000000000000000000000000000000000..768f63befdc605e74581661341ba1ed466d07dd8 GIT binary patch literal 42048 zcmeHw34B!5z5kh+%w(S=WF-Wcghiqf61IY(3`-zk(MS++W0)k9WHgzHnF$G21f^OK zdE!=a!)RNjeQ0s1#ibb33bnk7*0#2<3%1w}Ev@NOTdJ-3e}BJo&b@ag3D5Su|NDR5 z|HFmc-#Opka(-vI=bq)>I~%K)EwbBeLLYW^c}loXquwr9H69EL;eNjsaWyd2Q<3Y)|=)#+UXJt~*adgy9iq0$?!9=xhNHC4%rDQ&@qnbW7V zHBD{{hPrwt_sp6(dFJ$rNVsAuyFh+X8q}s1UvROoZxVfkX?+Uk;g5=y`2W%W?XyaD z|GazLO~Kj6_vL)$XJ7u|@3allAsISIUb)2a9GpksFN_2V0Grm}j|3Zi;YhSI;BT*8>04RptFE6(<}av^&I*PjK1c+n*M@@8g;mvN zGIfhq)Q9VR)xzg%?D6{=0xiLiuhAcEYz5NN)8p$1bV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^ zL9pf#==4R~eRyghgeNXA5f1A)UlWGo5ud-S2eZlcj>ErA(QD2TO`PXBt$ zHlm&DG1v6B2YgLk?d|KKVu|rIGENi^GOU=lyxLcN!9pKaqI`=lxY$=+qrjSlD}-<1 zr5DUwUc11^)rE@|)mN|dt(-T1S+!;DY5~nEt+UK3Udf_4jhbQV^+jKx2{UF3L$481 zanDAPvID?&uXwAaY5LbAV|PRkPpMfcgpfusYP(>V*^Y=GXeFDyEUXA-&F=d`-tRudTKb z6R0Z79J#i!8Vh%rdBshrYf*UcvVNv7-cfCN8uD+h0{WUFVIL++O<3k89=PP1>@O&Vnjhn7tCfEu1{=?MphD5qzy-5mMwDiv6t$wUsRy3^-Aqh#b8qFN_-Q>844?J`Peo|1O zj<%?%;MK|sT%QPYms5d7A?oxi0|U*(uNKrDL)?igGw0I zajM`XrFpa-QGq)q{kRm|rw0jf&ub3ru)m?9Gq6s_+Jd2g4%4c;Qo!1C3vS2%O~)wM zp&=)xJ$w{7yo$=W{@%HaNm(5xIu3uy_|y8cl>RJ?`|0rT**wv@jP;m_h*f{J(qFCg z_4rxqV7MH2)FNip*Xupk4U>MN{^iieP}1+c#c=$r0ZUw_BFUpYKpDQf?zzjIDS7%grVXT9`qx7{L>C&O&n*JRawLPt`*C&rEeOiB`L(6Nb+kp$2r~GUE z{tLY%F8b#(G1{4o4Yre>pl_^$dZoq|t*EF@U(>t%hY^#jLRE3X2v>1Q7{`GZ5-L$TIsUgot?vV6lqhprw#Pq3~97_L=d!>9!f_value = src << this->_nb_bits; } Fixed::Fixed(const float& src) { - std::cout << "Copy constructor called" << std::endl; + std::cout << "Float constructor called" << std::endl; this->_value = (int) roundf(src * (1 << this->_nb_bits)); }