Sponsored Content
Full Discussion: TrueAbility Linux Showdown
Special Forums News, Links, Events and Announcements TrueAbility Linux Showdown Post 302937913 by TrueAbility on Tuesday 10th of March 2015 02:17:40 PM
Old 03-10-2015
TrueAbility Linux Showdown

Want to flex your scripting skills? Also want a chance to win awesome prizes? If so, you should compete in Linux Showdown 8: “The Assembler” that TrueAbility is hosting!

TrueAbility was built with tech professionals in mind and has a vast community of Linux members. Everything from Linux challenges and self-assessments, to blog posts and Linux jobs can be found at TrueAbility.

We are launching an old school challenge to test tech pros' scripting skills and they are calling it their most difficult challenge EVER. It goes live on March 16th, so you have a few days to brush up your Hardware Programming Language: Assembly. The top 50 techs will advance to an even more challenging round 2.

Think you have what it takes to make it on their leaderboard and advance to round 2?


Lots of prizes are going to be given away! They range from Linux Foundation Certified Engineer Exam credits and TrueAbility Abilityscreens to DigitalOcean credits and even a D-Link AC3200 Ultra Wi-Fi Router. It doesn't cost anything to join in on the fun. Prove what you've got while winning awesome prizes. You won't want to miss this!
 

We Also Found This Discussion For You

1. UNIX for Beginners Questions & Answers

Simple sed command not working; could be a Mac/Linux vs. PC/Linux issue

Hello, I am on a Mac and trying to clean up some monthly files with a very simple SED: sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt (from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file) then output to output.txt Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
TRUNC(3)						     Linux Programmer's Manual							  TRUNC(3)

NAME
trunc, truncf, truncl - round to integer, towards zero SYNOPSIS
#include <math.h> double trunc(double x); float truncf(float x); long double truncl(long double x); Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): trunc(), truncf(), truncl(): _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; or cc -std=c99 DESCRIPTION
These functions round x to the nearest integer not larger in absolute value. RETURN VALUE
These functions return the rounded integer value. If x is integral, infinite, or NaN, x itself is returned. ERRORS
No errors occur. VERSIONS
These functions first appeared in glibc in version 2.1. CONFORMING TO
C99, POSIX.1-2001. NOTES
The integral value returned by these functions may be too large to store in an integer type (int, long, etc.). To avoid an overflow, which will produce undefined results, an application should perform a range check on the returned value before assigning it to an integer type. SEE ALSO
ceil(3), floor(3), lrint(3), nearbyint(3), rint(3), round(3) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 2008-08-11 TRUNC(3)
All times are GMT -4. The time now is 05:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy