Click here to Skip to main content
15,893,161 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
NewsFloating Point Math Pin
Kent Sharkey21-Jul-22 10:31
staffKent Sharkey21-Jul-22 10:31 
GeneralRe: Floating Point Math Pin
David O'Neil21-Jul-22 12:06
professionalDavid O'Neil21-Jul-22 12:06 
GeneralRe: Floating Point Math Pin
trønderen21-Jul-22 14:10
trønderen21-Jul-22 14:10 
GeneralRe: Floating Point Math Pin
Daniel Pfeffer21-Jul-22 21:40
professionalDaniel Pfeffer21-Jul-22 21:40 
GeneralRe: Floating Point Math Pin
harold aptroot22-Jul-22 5:54
harold aptroot22-Jul-22 5:54 
GeneralRe: Floating Point Math Pin
Daniel Pfeffer23-Jul-22 20:41
professionalDaniel Pfeffer23-Jul-22 20:41 
GeneralRe: Floating Point Math Pin
den2k8822-Jul-22 1:58
professionalden2k8822-Jul-22 1:58 
GeneralRe: Floating Point Math Pin
Nelek23-Jul-22 10:56
protectorNelek23-Jul-22 10:56 
trønderen wrote:
I believe that several old Cobol compilers never used BCD, but scaled integers. What appeared to you as, say, US dollars with two decimals, was internally treated as integer cents; the decimal point between the dollars and cents were inserted in the output process, but never seen at the internal level.
I have never programed Cobol, but I have used the scaled integers many, many times in industry automation. Int only needed 16 bits, float 32 bits (space was an big deal in some projects) and was pretty difficult to be read in binary / hex due to the intern composition.

I used BCD manay times too, but not that much in comparison (specially with 8-Segments displays and to avoid some weird formats due to endianness and signed/unsigned values)
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralRe: Floating Point Math Pin
Shao Voon Wong21-Jul-22 19:53
mvaShao Voon Wong21-Jul-22 19:53 
NewsThe birth of Random-Access Memory Pin
Kent Sharkey21-Jul-22 10:16
staffKent Sharkey21-Jul-22 10:16 
GeneralRe: The birth of Random-Access Memory Pin
Marc Clifton22-Jul-22 10:29
mvaMarc Clifton22-Jul-22 10:29 
GeneralRe: The birth of Random-Access Memory Pin
Daniel Pfeffer24-Jul-22 3:16
professionalDaniel Pfeffer24-Jul-22 3:16 
NewsThere’s a new push for a right to repair enterprise software Pin
Kent Sharkey21-Jul-22 10:16
staffKent Sharkey21-Jul-22 10:16 
NewsHow and why I’m improving my developer vocabulary Pin
Kent Sharkey21-Jul-22 9:46
staffKent Sharkey21-Jul-22 9:46 
GeneralRe: How and why I’m improving my developer vocabulary Pin
Greg Utas21-Jul-22 14:35
professionalGreg Utas21-Jul-22 14:35 
GeneralRe: How and why I’m improving my developer vocabulary Pin
Marc Clifton22-Jul-22 10:24
mvaMarc Clifton22-Jul-22 10:24 
NewsAutoRegex Pin
Kent Sharkey21-Jul-22 9:31
staffKent Sharkey21-Jul-22 9:31 
NewsWindows 11 22H2 comes with brute force attacks protection enabled by default Pin
Kent Sharkey21-Jul-22 9:31
staffKent Sharkey21-Jul-22 9:31 
NewsJames Webb spots the farthest galaxy humans have ever seen, near the dawn of time Pin
Kent Sharkey21-Jul-22 9:31
staffKent Sharkey21-Jul-22 9:31 
NewsMicrosoft tests new taskbar overflow UI for people who open too many apps at once Pin
Kent Sharkey21-Jul-22 9:16
staffKent Sharkey21-Jul-22 9:16 
GeneralRe: Microsoft tests new taskbar overflow UI for people who open too many apps at once Pin
charlieg22-Jul-22 3:22
charlieg22-Jul-22 3:22 
NewsMeteoroid hit has caused 'significant uncorrectable' damage to James Webb Space Telescope Pin
Kent Sharkey20-Jul-22 10:16
staffKent Sharkey20-Jul-22 10:16 
GeneralRe: Meteoroid hit has caused 'significant uncorrectable' damage to James Webb Space Telescope Pin
Richard Andrew x6420-Jul-22 10:30
professionalRichard Andrew x6420-Jul-22 10:30 
GeneralRe: Meteoroid hit has caused 'significant uncorrectable' damage to James Webb Space Telescope Pin
Greg Utas20-Jul-22 12:05
professionalGreg Utas20-Jul-22 12:05 
GeneralRe: Meteoroid hit has caused 'significant uncorrectable' damage to James Webb Space Telescope Pin
Daniel Pfeffer20-Jul-22 19:59
professionalDaniel Pfeffer20-Jul-22 19:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.