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

Forum Jump: 

Why is this correct? Looks to me like it shouldn't work.

Thread Tools
post #51 of 51 (permalink) Old 02-16-2018, 01:20 PM - Thread Starter
New to Overclock.net
PhotonFanatic's Avatar
Join Date: Dec 2009
Posts: 1,888
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  
Sponsored Links

Quick Reply

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Please enter a password for your user account. Note that passwords are case-sensitive.
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off