Overclock.net - An Overclocking Community - View Single Post - Why is this correct? Looks to me like it shouldn't work.

View Single Post
post #51 of (permalink) Old 02-16-2018, 01:20 PM - Thread Starter
New to Overclock.net
PhotonFanatic's Avatar
Join Date: Dec 2009
Posts: 1,886
Rep: 19 (Unique: 18)
To answer you guys, I wasn't sure why I thought that would work. Right now I'm just scheming everything I think could possibly work, in an attempt to get the right answer. Often its wrong, but at least they give you the right answer if you want them to.

Now I'd like to ask about a use case for abs(). Absolute value from zero. Why would we ever need to know that? It always just returns the same number. Maybe it doesn't have a - sign in front of the number anymore, but I think we can figure that out on our own. So you'd say abs(125) and it of course returns 125. Same for -125. You get 125.

I'm sure there is something lying in wait in the future, when it comes to a use for this function. But I'd like to know what it is, and how abs() is helpful.

"Executing execution.exe"
Bang for the buck
(12 items)
3570k @ 4.6Ghz @1.35v
Gigabyte Z77x UD3H
evga GTX 970 SSC
16Gb Gskill Ripjaws 2133Mhz @ 9-11-10-28
Hard Drive
Samsung Evo 850
Power Supply
Silverstone 900 watt
Thermalright Ultra 120 Extreme
Silverstone Raven (1st edition)
Operating System
Windows 10 Spy Delux
Xstar 27" PLS 1440p
Wireless ergonomic
Logisys Wireless trackball
▲ hide details ▲
PhotonFanatic is offline