Ariana
Tho you can treat both as the same
松鼠
There is one bit which is for sign
So, there must have some pratical use in computing or other else ?
olli
So, there must have some pratical use in computing or other else ?
note that 0.0 == -0.0 yields true. One should however keep in mind, floating point values are in many cases not able to represent the exact result but rather an approximation. Now if you divide -1 by a huge number the result is really close to 0, still negative though! In many cases not only the result, but also the sign is important so IEEE754 stores the sign in a dedicated bit.
Ariana
So, there must have some pratical use in computing or other else ?
Basically its like -3.62 * 10^43 the computer stores like [-][362][41]
Ariana
When comparing floats, due to floating point error, always do like fabs(a-b)>bound
Ariana
<or you could always store in exact form and then umm somehow simplify it whenever possible but it isn't even deterministic in some cases>
Ariana
So, there must have some pratical use in computing or other else ?
if you're refering to 0.0==-0.0, it doesnt really affect the value if the computer needs to change that sign bit, and its illogical to just reallocate it into a int, so it just remains as +_0.0
Ariana
by using an array to store every digits?
What if i gave you like 1/7 or 1/65537, umm good luck with that, i think cas stores expressions with like expression trees or something, at least thats what im doing, hoping its correct it basically just stores as like sin(pi/(2-1-3+4)), though there would be algorithms to simplify it to like sin(pi/(2-1-3+4))=sin(pi/2)=1
Mihail
but give me ideas
Ik I'm not Maxi, but have you thought about some kernel maybe in modern c++? But like Linux compatibility too, because it probably won't get much attention otherwise. Oh also keep it clean, please
klimi
and its too hard
klimi
but thanks
Mihail
clinl
Hi, Sherlock
Mihail
You managed to figure it out again
Ariana
for programs
Malbolge compiler :>
klimi
im in the fame hall
Ariana
Yw
klimi
T.T
Ибраги́м
https://www.youtube.com/watch?v=2HRqtx859ks
Anonymous
hey guys have you done something about user defined functions
klimi
Hola casa
Anonymous
Hola admin
Ибраги́м
Hola admin
Are u here to Hola or are you here to Hola
Anonymous
I don't understand u what you mean
Saurabh
I want to read STL in c++.Can anyone tell me where is the best tutorial i found for reading thia
olli
I want to read STL in c++.Can anyone tell me where is the best tutorial i found for reading thia
https://en.cppreference.com/w/cpp is a great start otherwise you can read the standard if you want to http://www7.open-std.org/JTC1/SC22/WG21/docs/papers/2017/n4659.pdf
Pratik
Hello
BinaryByter
Start by reading on std::vector
Anonymous
Is conio.h still used these days, coz I find that only turbo c++ has that header
BinaryByter
Is conio.h still used these days, coz I find that only turbo c++ has that header
conio *CAN* be used on many linux computers because it has c headers
BinaryByter
but it is outdated iirc
BinaryByter
look into <iomanip>, i think that it does something similar
olli
Is conio.h still used these days, coz I find that only turbo c++ has that header
it is not part of the c language, therefore you will not see it provided by every runtime
Anonymous
look into <iomanip>, i think that it does something similar
Thank you. Coz i wanna use getch(); in my program
BinaryByter
Thank you. Coz i wanna use getch(); in my program
use cin and access each char individually. use the string like you would use an array
BinaryByter
no, fortunately not
"fortunately"?
olli
"fortunately"?
ever tried compiling everything that boost offers?
Anonymous
Share 'TMCPPSTL.pdf'
Anonymous
olli
"fortunately"?
When working on huge projects, using source and shared libraries are benefitical
Anonymous
You can also start from here
Anonymous
I am using MinGW compiler, I want to start programming for graphics design. What changes I have to make ?
BinaryByter
Vanilla C++ code
BinaryByter
The output
BinaryByter
Tell me, what do you think of this?
BinaryByter
anyway, time for school
Ибраги́м
https://www.bfilipek.com/2018/10/papers-sandiego.html
Mihail
Tell me, what do you think of this?
Could be very useful in embedded systems which don't have a filesystem, but run some webserver
Mihail
Because your other solution is to store it in strings, and it looks like a big mess
Anonymous
Y ban me
Anonymous
Y
Anonymous
Can anyone suggest me books or sites to learn C language ? I haven't got any better reference till now. Help please
Roxifλsz 🇱🇹
Vanilla C++ code
Wtf, that's kind of cool
Ибраги́м
Wtf, that's kind of cool
Except that it's ... Maxi
BinaryByter
olli
Because your other solution is to store it in strings, and it looks like a big mess
But the executable takes more space than the strings 😅
Mihail
But like an ESP8266 has 4MB flash
BinaryByter
But the idea is to be able to run cgi
Mihail
Tho that has filesystem too
BinaryByter
Think of this as a php without speed problems and without the weild syntax