Skip to content

my other home

maxpagani.org
Search
  • About me
  • Blog
  • Gallery
  • Projects
  • Downloads
  • Git Cheat Sheet
  • Search

c programming

Absolutely

2018-12-052018-12-05 by max

As a programmer, you will be quite familiar with the abs function. I thought I was. In fact it was filed in my brain drawer with the absolute mathematical function. It takes a number and provides an always positive or zero result. Right?

Well, mostly. This morning, while typing in the scala REPL:

scala> Math.abs(Int.MinValue)
res0: Int = -2147483648

Read moreAbsolutely

Categories BlogTags c programming, programming, scala programming2 Comments

Archive

Now Reading


  View Full Library

Now Reading (3)

  • Rebel. La nuova alba
  • Functional Programming in Scala

Reading Queue (2)

  • The Design and Engineering of Curiosity: How the Mars Rover Performs Its Job (Springer Praxis Books)
  • Chasing New Horizons: Inside the Epic First Mission to Pluto

Read Books Shelf (4)

  • Treno espresso per l’universo
  • Capolinea per le stelle (Viaggiatori interstellari Vol. 1) (Italian Edition)
  • La tetralogia di Bartimeus: Il ciclo di Bartimeus (Italian Edition)
  • Rebel. Il tradimento
Now Reading
Redux

Blog Stats

  • 3,181 hits

RSS Feed

  • RSS - Posts
  • RSS - Comments

Footer Widget

Replace this widget content by going to Appearance / Widgets and dragging widgets into this widget area.

To remove or choose the number of footer widgets, go to Appearance / Customize / Layout / Footer Widgets.

Blog Stats

  • 3,181 hits
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Tags

++it ++it 2018 adoption adozione bash blog book C++ computer firmware fitness functional programming hardware holidays Italy java lambda world 2017 links linux misc none pc PDA photoalbum pic politics programming project management religion retrocomputing reviews rights Scala Scala days 2016 scala programming sci-fi scuola software engineering space technology travels videogames videogames programming website windows
© 2019 maxpagani.org • Powered by GeneratePress