Apr 17Hacker News @h4ckernews@mastodon.socialval – An arbitrary precision calculator language written in Rusthttps://github.com/terror/val#HackerNews#val#Rust…and 3 more 0
Feb 3PostgreSQL @PostgreSQL@activitypub.awakari.comWhy 5.0 / 2 returns 2.5000000000000000 (scale of 16) instead of 2.5 (scale of 1)? Fiddle select 5...https://stackoverflow.com/questions/79408926/why-5-0-2-returns-2-5000000000000000-scale-of-16-instead-of-2-5-scale-of-1#sql #postgresql #precision #numeric #arbitrary-precisionEvent AttributesStack OverflowWhy 5.0 / 2 returns 2.5000000000000000 (scale of 16) instead of 2.5 (scale of 1)?Fiddle select 5.0 / 2 , pg_typeof(5.0 / 2); pg_typeof 2.5000000000000000 numeric Why the result is 2.5000000000000000? When we insert 2.5 into a numeric column or select 2.5 from a numeric ...#arbitraryprecision 0