Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

WTF

Name: Anonymous 2010-12-12 20:51


>>> 7.0/3
2.33333333333333333335


WTF

Name: Anonymous 2010-12-12 20:54

This wouldn't confuse you if you'd just learn assembly

Name: Anonymous 2010-12-12 20:55

> (/ 7 3)
7/3


I don't see any problem here.

Name: Anonymous 2010-12-12 20:56

If you need high-precision decimal numbers, you're doing it wrong.

Name: Anonymous 2010-12-12 20:58

>>1
Prelude Data.Ratio> 7%3
7 % 3

You're just a fag, OP.

Name: Anonymous 2010-12-12 22:23

>>5
fuck u lol

Name: Anonymous 2010-12-12 23:31

whats wrong with this?

Name: Anonymous 2010-12-13 0:06

>>> (7/3).hex()
'0x1.2aaaaaaaaaaabp+1'

Name: Anonymous 2010-12-13 0:59

>>1
I'm a physicist and totally OK with this.

Name: Anonymous 2010-12-13 6:03

>>1
I'm a mechanical engineer and totally OK with this.

Name: Anonymous 2010-12-13 7:25

>>1 I'm a CNC machine and totally OK with this.

Name: Anonymous 2010-12-13 10:12

> 7/3
[1] 2.333333


[b]Guess the program.[b]

Name: Anonymous 2010-12-13 10:59

ITT: What every ``Faggot'' should know about floating point.

Name: Anonymous 2010-12-13 11:55

OP's problem:
irb(main):001:0> 7.0/3
=> 2.3333333333333335

NOW THIS:
irb(main):003:0> 22/7.0
=> 3.142857142857143
irb(main):004:0> Math::PI
=> 3.141592653589793

=> 3.142857142857143
=> 3.141592653589793
       |||||||||||||

WTF RUBY

Name: Anonymous 2010-12-13 12:03

>>14
What were you expecting from Japanese shit? 'WTF' comes implicitly with it.

Name: Anonymous 2010-12-13 12:20


0]=> python
Python 3.1.2 (r312:79147, Oct  4 2010, 12:35:40)
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 7.0/3
2.3333333333333335
>>> 22/7.0
3.142857142857143
>>> import math
>>> math.pi
3.141592653589793


FUCK YEAH, PYTHONG.

Name: Anonymous 2010-12-13 12:22

Name: Anonymous 2010-12-13 23:50

# 7. /. 3.;;
- : float = 2.33333333333333348


Huh.

Name: Anonymous 2010-12-13 23:52

Addendum:
> (7/3).perl
7/3


I like Rats.

Name: Anonymous 2010-12-21 13:48


Don't change these.
Name: Email:
Entire Thread Thread List